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.674/2.674, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001121/0.001121, allocations: 188 kB / 0.4901 GB, free: 2.188 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.494/1.494, allocations: 223.1 MB / 0.7992 GB, free: 14.62 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.0009482/0.0009485, allocations: 100.1 kB / 0.9396 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003669, allocations: 10.44 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3161, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.5208, allocations: 173.6 MB / 1.399 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.5212, allocations: 91.94 kB / 1.399 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.6675/1.189, allocations: 40.41 MB / 1.438 GB, free: 179 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.186e-06/1.189, allocations: 1.281 kB / 1.438 GB, free: 179 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.93e-05/1.189, allocations: 20.55 kB / 1.438 GB, free: 179 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001739/1.191, allocations: 0.9354 MB / 1.439 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.191, allocations: 11.97 kB / 1.439 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/1.191, allocations: 118 kB / 1.439 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/1.192, allocations: 219.2 kB / 1.44 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000999/1.193, allocations: 0.5381 MB / 1.44 GB, free: 178 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/1.193, allocations: 44.81 kB / 1.44 GB, free: 178 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/1.194, allocations: 64.83 kB / 1.44 GB, free: 178 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/1.195, allocations: 1.093 MB / 1.441 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/1.195, allocations: 14.92 kB / 1.441 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/1.195, allocations: 30.2 kB / 1.441 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.916e-05/1.195, allocations: 55.55 kB / 1.441 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/1.196, allocations: 0.6845 MB / 1.442 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/1.201, allocations: 5.778 MB / 1.448 GB, free: 173.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008152/1.202, allocations: 0.5904 MB / 1.448 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/1.202, allocations: 4.281 kB / 1.448 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/1.202, allocations: 41.34 kB / 1.448 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=41): time 2.805e-06/1.202, allocations: 0 / 1.448 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=42): time 0.003728/1.206, allocations: 1.905 MB / 1.45 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/1.206, allocations: 56.56 kB / 1.45 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/1.206, allocations: 398.6 kB / 1.451 GB, free: 172 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/1.206, allocations: 36.11 kB / 1.451 GB, free: 172 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/1.206, allocations: 375.6 kB / 1.451 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/1.207, allocations: 146.7 kB / 1.451 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/1.207, allocations: 9.938 kB / 1.451 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.207, allocations: 364.1 kB / 1.452 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/1.207, allocations: 226.7 kB / 1.452 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/1.208, allocations: 413.5 kB / 1.452 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/1.208, allocations: 294 kB / 1.452 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.208, allocations: 5.375 kB / 1.452 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001834/1.21, allocations: 0.9578 MB / 1.453 GB, free: 171 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.21, allocations: 15.52 kB / 1.453 GB, free: 171 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/1.21, allocations: 6.188 kB / 1.453 GB, free: 171 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008601/1.211, allocations: 269.5 kB / 1.454 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/1.211, allocations: 94.8 kB / 1.454 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005462/1.217, allocations: 6.757 MB / 1.46 GB, free: 165.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/1.217, allocations: 30.73 kB / 1.46 GB, free: 165.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/1.217, allocations: 26.53 kB / 1.46 GB, free: 165.8 MB / 0.9167 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 (51): * Single equations (assignments): 47 * 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,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004337/1.218, allocations: 246 kB / 1.461 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.111e-05/1.218, allocations: 56.25 kB / 1.461 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/1.219, allocations: 0.8304 MB / 1.462 GB, free: 165.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/1.219, allocations: 4.688 kB / 1.462 GB, free: 165.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.219, allocations: 3.438 kB / 1.462 GB, free: 165.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.219, allocations: 4.281 kB / 1.462 GB, free: 165.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/1.222, allocations: 1.739 MB / 1.463 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.222, allocations: 1.438 kB / 1.463 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/1.222, allocations: 47.25 kB / 1.463 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000763/1.223, allocations: 250.8 kB / 1.464 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/1.223, allocations: 8.875 kB / 1.464 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004633/1.228, allocations: 6.463 MB / 1.47 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.228, allocations: 2.031 kB / 1.47 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/1.23, allocations: 0.9692 MB / 1.471 GB, free: 159.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/1.23, allocations: 170.2 kB / 1.471 GB, free: 159.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/1.23, allocations: 11.31 kB / 1.471 GB, free: 159.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/1.23, allocations: 20.73 kB / 1.471 GB, free: 159.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.23, allocations: 47.98 kB / 1.471 GB, free: 159.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/1.23, allocations: 12.75 kB / 1.471 GB, free: 159.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004156/1.231, allocations: 303 kB / 1.471 GB, free: 159.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/1.231, allocations: 0.5625 kB / 1.471 GB, free: 159.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001169/1.232, allocations: 205 kB / 1.472 GB, free: 159.2 MB / 0.9167 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 (27): * Single equations (assignments): 23 * 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,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001987/1.234, allocations: 1.925 MB / 1.473 GB, free: 157.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001648/1.236, allocations: 1.131 MB / 1.475 GB, free: 157.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.236, allocations: 0 / 1.475 GB, free: 157.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008472/1.236, allocations: 0.7961 MB / 1.475 GB, free: 156.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000762/1.237, allocations: 185.3 kB / 1.475 GB, free: 156.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/1.242, allocations: 7.762 MB / 1.483 GB, free: 150.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/1.243, allocations: 0.9994 MB / 1.484 GB, free: 149.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003513/1.243, allocations: 104.6 kB / 1.484 GB, free: 149.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/1.244, allocations: 227.8 kB / 1.484 GB, free: 149.5 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/1.244, allocations: 0 / 1.484 GB, free: 149.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/1.27, allocations: 13.96 MB / 1.498 GB, free: 144.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/1.271, allocations: 212.4 kB / 1.498 GB, free: 143.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.608, allocations: 0 / 1.498 GB, free: 143.9 MB / 0.9167 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