Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.24/2.24, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.0009866/0.0009867, allocations: 179.9 kB / 0.4901 GB, free: 2.234 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.564/1.564, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.0009331/0.0009333, allocations: 106 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003709, allocations: 11.25 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2666, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.4684, allocations: 172.5 MB / 1.398 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.4687, allocations: 95.94 kB / 1.398 GB, free: 8.582 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.655/1.124, allocations: 40.18 MB / 1.437 GB, free: 166.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.525e-06/1.124, allocations: 1.312 kB / 1.437 GB, free: 166.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.053e-05/1.124, allocations: 29.41 kB / 1.437 GB, free: 166.5 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001867/1.126, allocations: 1.035 MB / 1.438 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.126, allocations: 9.812 kB / 1.438 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001682/1.126, allocations: 125.9 kB / 1.438 GB, free: 165.7 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/1.128, allocations: 246.3 kB / 1.438 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009619/1.128, allocations: 0.5189 MB / 1.439 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/1.129, allocations: 56.78 kB / 1.439 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.129, allocations: 66.31 kB / 1.439 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/1.131, allocations: 1.132 MB / 1.44 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/1.131, allocations: 14.55 kB / 1.44 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.805e-05/1.131, allocations: 36.94 kB / 1.44 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/1.131, allocations: 54.56 kB / 1.44 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/1.132, allocations: 0.7501 MB / 1.441 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006388/1.139, allocations: 5.905 MB / 1.447 GB, free: 159.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/1.14, allocations: 0.5605 MB / 1.447 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/1.14, allocations: 5.812 kB / 1.447 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/1.14, allocations: 37.47 kB / 1.447 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=47): time 2.845e-06/1.14, allocations: 0 / 1.447 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=48): time 0.004125/1.144, allocations: 1.983 MB / 1.449 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/1.144, allocations: 61.06 kB / 1.449 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000673/1.145, allocations: 492.3 kB / 1.45 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/1.145, allocations: 31.89 kB / 1.45 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/1.145, allocations: 398.6 kB / 1.45 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/1.146, allocations: 176.3 kB / 1.45 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/1.146, allocations: 14.28 kB / 1.45 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.146, allocations: 373.6 kB / 1.451 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/1.146, allocations: 270.3 kB / 1.451 GB, free: 157.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006365/1.147, allocations: 462.6 kB / 1.451 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006273/1.147, allocations: 335.7 kB / 1.452 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.147, allocations: 1.656 kB / 1.452 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001527/1.149, allocations: 1.063 MB / 1.453 GB, free: 156 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.149, allocations: 3.906 kB / 1.453 GB, free: 156 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.149, allocations: 7.875 kB / 1.453 GB, free: 156 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007911/1.15, allocations: 276.9 kB / 1.453 GB, free: 155.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/1.15, allocations: 115.8 kB / 1.453 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004695/1.155, allocations: 6.712 MB / 1.46 GB, free: 149.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/1.156, allocations: 42.36 kB / 1.46 GB, free: 149.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/1.156, allocations: 26.31 kB / 1.46 GB, free: 149.6 MB / 0.9011 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000452/1.156, allocations: 252.7 kB / 1.46 GB, free: 149.4 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.156, allocations: 65.28 kB / 1.46 GB, free: 149.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/1.158, allocations: 0.8916 MB / 1.461 GB, free: 148.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/1.158, allocations: 3.188 kB / 1.461 GB, free: 148.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.158, allocations: 3.969 kB / 1.461 GB, free: 148.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/1.158, allocations: 3.984 kB / 1.461 GB, free: 148.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/1.16, allocations: 1.715 MB / 1.463 GB, free: 147.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.16, allocations: 0 / 1.463 GB, free: 147.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/1.16, allocations: 58.86 kB / 1.463 GB, free: 147.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006506/1.161, allocations: 271.2 kB / 1.463 GB, free: 147.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/1.161, allocations: 11.89 kB / 1.463 GB, free: 147.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004401/1.165, allocations: 6.688 MB / 1.47 GB, free: 140.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.165, allocations: 4.406 kB / 1.47 GB, free: 140.8 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/1.167, allocations: 1.048 MB / 1.471 GB, free: 139.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/1.167, allocations: 200.1 kB / 1.471 GB, free: 139.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/1.167, allocations: 16 kB / 1.471 GB, free: 139.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/1.167, allocations: 27.95 kB / 1.471 GB, free: 139.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/1.167, allocations: 51.84 kB / 1.471 GB, free: 139.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/1.168, allocations: 19.94 kB / 1.471 GB, free: 139.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003644/1.168, allocations: 383.1 kB / 1.471 GB, free: 139 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/1.168, allocations: 0 / 1.471 GB, free: 139 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008457/1.169, allocations: 224 kB / 1.471 GB, free: 138.8 MB / 0.9011 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001485/1.17, allocations: 2.024 MB / 1.473 GB, free: 136.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001601/1.172, allocations: 1.256 MB / 1.475 GB, free: 135.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.172, allocations: 0 / 1.475 GB, free: 135.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009581/1.173, allocations: 0.8932 MB / 1.476 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008322/1.174, allocations: 197.3 kB / 1.476 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005918/1.18, allocations: 8.273 MB / 1.484 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/1.18, allocations: 1.024 MB / 1.485 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000465/1.181, allocations: 121.9 kB / 1.485 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/1.181, allocations: 247.4 kB / 1.485 GB, free: 124.3 MB / 0.9011 GB Notification: Performance of SimCode: time 1.302e-06/1.181, allocations: 4 kB / 1.485 GB, free: 124.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/1.21, allocations: 16.25 MB / 1.501 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/1.21, allocations: 211 kB / 1.501 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.602, allocations: 0 / 1.501 GB, free: 108.1 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat