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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 405.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 181.1 kB / 498.1 MB, free: 5.77 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.1 MB / 0.7948 GB, free: 17.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000882/0.0008819, allocations: 102.8 kB / 0.9346 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 8.062 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2733, allocations: 142.4 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2065/0.4799, allocations: 179.9 MB / 1.399 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.4802, allocations: 95.94 kB / 1.399 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.05273/0.533, allocations: 21.25 MB / 1.419 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.004e-06/0.533, allocations: 3.938 kB / 1.419 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.486e-05/0.5331, allocations: 12 kB / 1.419 GB, free: 8.531 MB / 0.9167 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.001156/0.5342, allocations: 0.5768 MB / 1.42 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.5343, allocations: 8.031 kB / 1.42 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.5344, allocations: 62.55 kB / 1.42 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009273/0.5353, allocations: 111.5 kB / 1.42 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.5359, allocations: 294.5 kB / 1.42 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.5359, allocations: 16.55 kB / 1.42 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.536, allocations: 31.98 kB / 1.421 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/0.5367, allocations: 429.1 kB / 1.421 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.5367, allocations: 0 / 1.421 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.5368, allocations: 12 kB / 1.421 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/0.5368, allocations: 32.48 kB / 1.421 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005228/0.5373, allocations: 345.9 kB / 1.421 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.54, allocations: 2.207 MB / 1.423 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.5404, allocations: 267 kB / 1.424 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.5404, allocations: 192 / 1.424 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.5405, allocations: 38.75 kB / 1.424 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.5405, allocations: 0 / 1.424 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.00181/0.5423, allocations: 1.051 MB / 1.425 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.5424, allocations: 55.36 kB / 1.425 GB, free: 2.598 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.5426, allocations: 228 kB / 1.425 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.5426, allocations: 29.7 kB / 1.425 GB, free: 2.332 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.5428, allocations: 184 kB / 1.425 GB, free: 2.148 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.5428, allocations: 90.83 kB / 1.425 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.5429, allocations: 4 kB / 1.425 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.543, allocations: 338.8 kB / 1.426 GB, free: 1.715 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.5432, allocations: 147.9 kB / 1.426 GB, free: 1.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.5435, allocations: 233.3 kB / 1.426 GB, free: 1.309 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.5438, allocations: 178.8 kB / 1.426 GB, free: 1.137 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5438, allocations: 3.938 kB / 1.426 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001052/0.5449, allocations: 0.5796 MB / 1.427 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.5449, allocations: 7.953 kB / 1.427 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.5449, allocations: 7.938 kB / 1.427 GB, free: 0.5273 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/0.5456, allocations: 180.9 kB / 1.427 GB, free: 356 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.5459, allocations: 71.89 kB / 1.427 GB, free: 284 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.567/1.113, allocations: 2.323 MB / 1.429 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/1.113, allocations: 20.97 kB / 1.429 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/1.113, allocations: 14.62 kB / 1.429 GB, free: 188.8 MB / 0.9167 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.0002123/1.114, allocations: 168.6 kB / 1.429 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/1.114, allocations: 26.34 kB / 1.43 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/1.114, allocations: 350.6 kB / 1.43 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.114, allocations: 1.062 kB / 1.43 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/1.114, allocations: 6.766 kB / 1.43 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/1.114, allocations: 1.312 kB / 1.43 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/1.115, allocations: 0.8057 MB / 1.431 GB, free: 188.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.115, allocations: 1.375 kB / 1.431 GB, free: 188.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/1.116, allocations: 76.17 kB / 1.431 GB, free: 188.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.116, allocations: 3.719 kB / 1.431 GB, free: 188.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/1.116, allocations: 13.47 kB / 1.431 GB, free: 188.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/1.116, allocations: 2.031 kB / 1.431 GB, free: 188.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.116, allocations: 1.625 kB / 1.431 GB, free: 188.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008138/1.117, allocations: 0.6327 MB / 1.431 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/1.117, allocations: 129.2 kB / 1.431 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/1.117, allocations: 9.562 kB / 1.431 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/1.117, allocations: 15.05 kB / 1.431 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/1.117, allocations: 13.06 kB / 1.432 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/1.117, allocations: 9.141 kB / 1.432 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001757/1.117, allocations: 175.4 kB / 1.432 GB, free: 188 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.11e-07/1.117, allocations: 0 / 1.432 GB, free: 188 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004508/1.118, allocations: 98.61 kB / 1.432 GB, free: 188 MB / 0.9167 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.0009629/1.119, allocations: 1.338 MB / 1.433 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009342/1.12, allocations: 0.5243 MB / 1.434 GB, free: 187 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.12, allocations: 1 kB / 1.434 GB, free: 187 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/1.12, allocations: 146.2 kB / 1.434 GB, free: 187 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/1.12, allocations: 45.58 kB / 1.434 GB, free: 187 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/1.125, allocations: 3.782 MB / 1.437 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/1.125, allocations: 0.8033 MB / 1.438 GB, free: 184 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002714/1.125, allocations: 73.34 kB / 1.438 GB, free: 184 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/1.126, allocations: 82.62 kB / 1.438 GB, free: 184 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/1.126, allocations: 0 / 1.438 GB, free: 184 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/1.146, allocations: 6.259 MB / 1.445 GB, free: 183.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/1.146, allocations: 204.1 kB / 1.445 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/3.167, allocations: 4 kB / 1.445 GB, free: 183.4 MB / 0.9167 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