Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.498/2.498, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001173/0.001173, allocations: 188.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.3 MB / 0.7915 GB, free: 5.477 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.001172/0.001171, allocations: 99.94 kB / 0.9318 GB, free: 5.789 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.046e-05/5.085e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.271, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.281, allocations: 193.6 MB / 1.408 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/1.281, allocations: 99.61 kB / 1.408 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08558/1.367, allocations: 34.23 MB / 1.441 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.545e-06/1.367, allocations: 0 / 1.441 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.498e-05/1.367, allocations: 23.98 kB / 1.441 GB, free: 13.58 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00154/1.368, allocations: 0.8022 MB / 1.442 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.368, allocations: 8.031 kB / 1.442 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/1.369, allocations: 94.27 kB / 1.442 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/1.37, allocations: 198.8 kB / 1.443 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009846/1.371, allocations: 498.3 kB / 1.443 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/1.371, allocations: 35.81 kB / 1.443 GB, free: 12 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/1.371, allocations: 61.39 kB / 1.443 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/1.373, allocations: 0.8586 MB / 1.444 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/1.373, allocations: 8 kB / 1.444 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/1.373, allocations: 25.44 kB / 1.444 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.515e-05/1.373, allocations: 44.84 kB / 1.444 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008863/1.374, allocations: 0.5607 MB / 1.445 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/1.378, allocations: 4.598 MB / 1.449 GB, free: 6.129 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/1.379, allocations: 290.5 kB / 1.449 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/1.379, allocations: 216.8 kB / 1.45 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/1.379, allocations: 8 kB / 1.45 GB, free: 5.613 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/1.379, allocations: 42.5 kB / 1.45 GB, free: 5.562 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/1.379, allocations: 0 / 1.45 GB, free: 5.562 MB / 0.9011 GB Notification: Performance of matching and sorting (n=40): time 0.004868/1.384, allocations: 2.197 MB / 1.452 GB, free: 3.273 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/1.384, allocations: 59.34 kB / 1.452 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/1.385, allocations: 387.9 kB / 1.452 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/1.385, allocations: 33.7 kB / 1.452 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/1.385, allocations: 331.8 kB / 1.453 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/1.385, allocations: 149.9 kB / 1.453 GB, free: 2.297 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/1.385, allocations: 8 kB / 1.453 GB, free: 2.289 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.385, allocations: 362.7 kB / 1.453 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/1.386, allocations: 229.1 kB / 1.453 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/1.386, allocations: 380.5 kB / 1.454 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/1.387, allocations: 281.4 kB / 1.454 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.387, allocations: 4 kB / 1.454 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001653/1.388, allocations: 0.8828 MB / 1.455 GB, free: 88 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/1.388, allocations: 8 kB / 1.455 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.388, allocations: 4 kB / 1.455 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007731/1.389, allocations: 230.5 kB / 1.455 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/1.39, allocations: 115.8 kB / 1.455 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005213/1.395, allocations: 4.916 MB / 1.46 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005676/1.395, allocations: 32.03 kB / 1.46 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/1.395, allocations: 31.88 kB / 1.46 GB, free: 10.34 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001829/1.396, allocations: 137.3 kB / 1.46 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.396, allocations: 55.48 kB / 1.46 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/1.397, allocations: 0.7697 MB / 1.461 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.397, allocations: 4 kB / 1.461 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.397, allocations: 0 / 1.461 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.397, allocations: 7.984 kB / 1.461 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/1.4, allocations: 1.474 MB / 1.462 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/1.4, allocations: 4 kB / 1.462 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/1.4, allocations: 67.88 kB / 1.462 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006635/1.401, allocations: 202.6 kB / 1.463 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/1.401, allocations: 12 kB / 1.463 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004743/1.406, allocations: 4.858 MB / 1.467 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.406, allocations: 4.062 kB / 1.467 GB, free: 2.238 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/1.408, allocations: 1.194 MB / 1.469 GB, free: 0.9531 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/1.408, allocations: 172.4 kB / 1.469 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/1.408, allocations: 12 kB / 1.469 GB, free: 0.7539 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/1.409, allocations: 23.97 kB / 1.469 GB, free: 0.7305 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.551e-05/1.409, allocations: 40.16 kB / 1.469 GB, free: 0.6914 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/1.409, allocations: 16 kB / 1.469 GB, free: 0.6758 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003684/1.409, allocations: 305.6 kB / 1.469 GB, free: 392 kB / 0.9167 GB Notification: Performance of sort global known variables: time 1.51e-07/1.409, allocations: 0 / 1.469 GB, free: 392 kB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006871/1.41, allocations: 172 kB / 1.469 GB, free: 220 kB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002509/1.412, allocations: 2.263 MB / 1.471 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001983/1.414, allocations: 0.9804 MB / 1.472 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.414, allocations: 0 / 1.472 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/1.415, allocations: 0.6756 MB / 1.473 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009778/1.416, allocations: 155.3 kB / 1.473 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/1.419, allocations: 1.116 MB / 1.474 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/1.419, allocations: 0.9571 MB / 1.475 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003891/1.42, allocations: 108.9 kB / 1.475 GB, free: 9.711 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/1.42, allocations: 215.3 kB / 1.476 GB, free: 9.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.232e-06/1.42, allocations: 0 / 1.476 GB, free: 9.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/1.45, allocations: 13.17 MB / 1.488 GB, free: 12.62 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/1.45, allocations: 183.1 kB / 1.489 GB, free: 12.39 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.895, allocations: 4 kB / 1.489 GB, free: 12.39 MB / 0.948 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat does not exist to compare? outputFormat=mat