Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.546/2.546, allocations: 390.5 MB / 398 MB, free: 10.97 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.001347/0.001347, allocations: 172.2 kB / 491.2 MB, free: 1.602 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.634/1.634, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001174/0.001174, allocations: 91.78 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.391e-05/2.406e-05, allocations: 7.984 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2656, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9067/1.172, allocations: 172.9 MB / 1.381 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/1.173, allocations: 90.16 kB / 1.381 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09036/1.263, allocations: 40.05 MB / 1.42 GB, free: 8.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.014e-06/1.263, allocations: 0 / 1.42 GB, free: 8.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.441e-05/1.263, allocations: 20 kB / 1.42 GB, free: 8.07 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001958/1.265, allocations: 0.8671 MB / 1.421 GB, free: 7.211 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/1.265, allocations: 15.97 kB / 1.421 GB, free: 7.195 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/1.267, allocations: 214.6 kB / 1.422 GB, free: 6.988 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/1.268, allocations: 0.5357 MB / 1.422 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/1.268, allocations: 20 kB / 1.422 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/1.268, allocations: 39.75 kB / 1.422 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009494/1.269, allocations: 0.5455 MB / 1.423 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/1.271, allocations: 0.9861 MB / 1.424 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/1.271, allocations: 15.16 kB / 1.424 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/1.271, allocations: 7.984 kB / 1.424 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.888e-05/1.271, allocations: 57.03 kB / 1.424 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005434/1.277, allocations: 5.638 MB / 1.429 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/1.277, allocations: 0.5749 MB / 1.43 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/1.278, allocations: 388.6 kB / 1.43 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/1.278, allocations: 4.688 kB / 1.43 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/1.278, allocations: 41.31 kB / 1.43 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 2.314e-06/1.278, allocations: 0 / 1.43 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.00233/1.28, allocations: 1.148 MB / 1.431 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/1.28, allocations: 59.39 kB / 1.431 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/1.281, allocations: 322.6 kB / 1.432 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/1.281, allocations: 25.7 kB / 1.432 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/1.281, allocations: 388.1 kB / 1.432 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/1.281, allocations: 144.9 kB / 1.432 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/1.281, allocations: 0 / 1.432 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.282, allocations: 358.5 kB / 1.433 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/1.282, allocations: 223.9 kB / 1.433 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/1.282, allocations: 406.6 kB / 1.433 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/1.283, allocations: 285.9 kB / 1.433 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.283, allocations: 0 / 1.433 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001615/1.284, allocations: 0.9381 MB / 1.434 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.284, allocations: 4 kB / 1.434 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.284, allocations: 11.95 kB / 1.434 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009261/1.285, allocations: 316.6 kB / 1.435 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/1.286, allocations: 87.45 kB / 1.435 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006409/1.292, allocations: 6.832 MB / 1.441 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/1.293, allocations: 15.98 kB / 1.441 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/1.293, allocations: 23.97 kB / 1.441 GB, free: 4.32 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001538/1.293, allocations: 125.1 kB / 1.442 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001369/1.294, allocations: 0.8005 MB / 1.442 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.47e-05/1.294, allocations: 59.33 kB / 1.442 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/1.296, allocations: 0.8443 MB / 1.443 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/1.296, allocations: 4 kB / 1.443 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.296, allocations: 8 kB / 1.443 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.296, allocations: 3.984 kB / 1.443 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/1.298, allocations: 1.71 MB / 1.445 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/1.298, allocations: 7.938 kB / 1.445 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/1.299, allocations: 47.47 kB / 1.445 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007713/1.299, allocations: 268.1 kB / 1.445 GB, free: 1.172 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/1.299, allocations: 0 / 1.445 GB, free: 1.172 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005942/1.305, allocations: 6.561 MB / 1.452 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.305, allocations: 8.156 kB / 1.452 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/1.307, allocations: 0.9606 MB / 1.453 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/1.307, allocations: 163.9 kB / 1.453 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/1.307, allocations: 0 / 1.453 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/1.307, allocations: 19.91 kB / 1.453 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/1.308, allocations: 43.52 kB / 1.453 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/1.308, allocations: 11.95 kB / 1.453 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003132/1.308, allocations: 252.7 kB / 1.453 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.3e-07/1.308, allocations: 0 / 1.453 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008762/1.309, allocations: 175.9 kB / 1.453 GB, free: 9.316 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001972/1.311, allocations: 1.923 MB / 1.455 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001661/1.313, allocations: 1.083 MB / 1.456 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.313, allocations: 4.312 kB / 1.456 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/1.314, allocations: 0.7779 MB / 1.457 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008617/1.314, allocations: 164.1 kB / 1.457 GB, free: 5.754 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/1.317, allocations: 1.009 MB / 1.458 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007579/1.317, allocations: 0.9982 MB / 1.459 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003247/1.318, allocations: 96.86 kB / 1.459 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/1.318, allocations: 219 kB / 1.459 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of SimCode: time 5.71e-07/1.318, allocations: 0 / 1.459 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/1.353, allocations: 12.8 MB / 1.472 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/1.353, allocations: 154.7 kB / 1.472 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/3.551, allocations: 0 / 1.472 GB, free: 6.766 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat