Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 94.66 kB / 15.06 MB, free: 1.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003377, allocations: 12 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8138, allocations: 142.3 MB / 0.9539 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00359/0.8175, allocations: 2.824 MB / 0.9566 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002877/0.8204, allocations: 1.744 MB / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.8207, allocations: 7.156 kB / 0.9583 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.8209, allocations: 41.36 kB / 0.9584 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000621/0.8216, allocations: 161.1 kB / 0.9585 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.8223, allocations: 232.8 kB / 0.9587 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006068/0.8229, allocations: 463.4 kB / 0.9592 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000776/0.8237, allocations: 440.8 kB / 0.9596 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.8241, allocations: 132.1 kB / 0.9597 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004873/0.8246, allocations: 186.6 kB / 0.9599 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.596e-05/0.8247, allocations: 13.25 kB / 0.9599 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.8251, allocations: 138.9 kB / 0.9601 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.8252, allocations: 108.1 kB / 0.9602 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.551e-05/0.8254, allocations: 70.48 kB / 0.9602 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.8259, allocations: 357.9 kB / 0.9606 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8259, allocations: 0 / 0.9606 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8259, allocations: 0.9062 kB / 0.9606 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.8259, allocations: 0 / 0.9606 GB, free: 3.062 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001147/0.8271, allocations: 0.5487 MB / 0.9611 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.8271, allocations: 9.531 kB / 0.9611 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.8273, allocations: 64.59 kB / 0.9612 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008374/0.8281, allocations: 88.5 kB / 0.9613 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.8285, allocations: 273.1 kB / 0.9615 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.8285, allocations: 14.41 kB / 0.9615 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.8287, allocations: 40.66 kB / 0.9616 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007296/0.8294, allocations: 438.2 kB / 0.962 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.8295, allocations: 5.109 kB / 0.962 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.8295, allocations: 11.92 kB / 0.962 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/0.8296, allocations: 42.66 kB / 0.962 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.8302, allocations: 348.3 kB / 0.9624 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.8325, allocations: 2.205 MB / 0.9645 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.8329, allocations: 264.9 kB / 0.9648 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.8332, allocations: 170.3 kB / 0.9649 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.8332, allocations: 6.672 kB / 0.965 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.8333, allocations: 32 kB / 0.965 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.8333, allocations: 0 / 0.965 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.001975/0.8352, allocations: 1.045 MB / 0.966 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.8353, allocations: 53.66 kB / 0.9661 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.8356, allocations: 252.7 kB / 0.9663 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.8357, allocations: 30.52 kB / 0.9663 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.8358, allocations: 186.4 kB / 0.9665 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/0.8359, allocations: 85.75 kB / 0.9666 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.8359, allocations: 10.03 kB / 0.9666 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.8361, allocations: 337.2 kB / 0.9669 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.8363, allocations: 154.2 kB / 0.9671 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.8366, allocations: 229 kB / 0.9673 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.837, allocations: 183 kB / 0.9675 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.837, allocations: 1.031 kB / 0.9675 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00116/0.8381, allocations: 0.5936 MB / 0.968 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.8382, allocations: 10.23 kB / 0.968 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.8382, allocations: 7 kB / 0.9681 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007184/0.8389, allocations: 191.2 kB / 0.9682 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.8392, allocations: 56.97 kB / 0.9683 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.8423, allocations: 2.291 MB / 0.9705 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.8426, allocations: 20.36 kB / 0.9705 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.8426, allocations: 10.94 kB / 0.9706 GB, free: 11.06 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.8429, allocations: 171.2 kB / 0.9707 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.8429, allocations: 19.06 kB / 0.9707 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005956/0.8435, allocations: 361 kB / 0.9711 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.8435, allocations: 3.562 kB / 0.9711 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.8436, allocations: 3.984 kB / 0.9711 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.8436, allocations: 3.984 kB / 0.9711 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.8447, allocations: 0.8061 MB / 0.9719 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.8447, allocations: 1.406 kB / 0.9719 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.8451, allocations: 73.47 kB / 0.972 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.8452, allocations: 6.688 kB / 0.972 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.8452, allocations: 11.3 kB / 0.972 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.8452, allocations: 1.062 kB / 0.972 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8452, allocations: 1 kB / 0.972 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/0.8461, allocations: 0.6073 MB / 0.9726 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.8463, allocations: 132.3 kB / 0.9727 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.8463, allocations: 10.62 kB / 0.9727 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.8466, allocations: 13.05 kB / 0.9727 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.8466, allocations: 15.61 kB / 0.9727 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.8466, allocations: 5.094 kB / 0.9727 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002319/0.8469, allocations: 186.4 kB / 0.9729 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8469, allocations: 0 / 0.9729 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005149/0.8474, allocations: 84.94 kB / 0.973 GB, free: 9.348 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.8487, allocations: 1.161 MB / 0.9741 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.8498, allocations: 0.5277 MB / 0.9746 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.8498, allocations: 0 / 0.9746 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.85, allocations: 149.8 kB / 0.9748 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.8505, allocations: 43.5 kB / 0.9748 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.8547, allocations: 2.281 MB / 0.9771 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.8551, allocations: 0.7909 MB / 0.9778 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002749/0.8554, allocations: 78.44 kB / 0.9779 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.8556, allocations: 90.59 kB / 0.978 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of SimCode: time 8.71e-07/0.8556, allocations: 0 / 0.978 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.879, allocations: 6.278 MB / 0.9841 GB, free: 368 kB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/0.8793, allocations: 222 kB / 0.9843 GB, free: 116 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.767, allocations: 3.5 kB / 0.9843 GB, free: 116 kB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat does not exist to compare? outputFormat=mat