Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 387.1 MB / 399.7 MB, free: 9.418 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.001153/0.001153, allocations: 172.9 kB / 492.3 MB, free: 0.6016 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.689/1.689, allocations: 221.3 MB / 0.7871 GB, free: 12.85 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.0009382/0.000938, allocations: 91.94 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.872e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3115, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9707/1.282, allocations: 172.8 MB / 1.381 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.283, allocations: 89.2 kB / 1.381 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08781/1.37, allocations: 40.19 MB / 1.421 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/1.37, allocations: 0 / 1.421 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.732e-05/1.37, allocations: 20 kB / 1.421 GB, free: 8.238 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.001952/1.372, allocations: 0.8777 MB / 1.421 GB, free: 7.371 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.373, allocations: 8.031 kB / 1.421 GB, free: 7.363 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002401/1.373, allocations: 113.1 kB / 1.422 GB, free: 7.281 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/1.374, allocations: 218.2 kB / 1.422 GB, free: 7.074 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/1.376, allocations: 0.5372 MB / 1.422 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/1.376, allocations: 47.17 kB / 1.422 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/1.376, allocations: 62.81 kB / 1.422 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/1.377, allocations: 1.078 MB / 1.423 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/1.377, allocations: 11.84 kB / 1.423 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/1.377, allocations: 30.11 kB / 1.423 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.029e-05/1.378, allocations: 57.22 kB / 1.424 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/1.379, allocations: 0.6748 MB / 1.424 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006175/1.385, allocations: 5.77 MB / 1.43 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009605/1.386, allocations: 0.593 MB / 1.43 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007611/1.387, allocations: 397.3 kB / 1.431 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/1.387, allocations: 4 kB / 1.431 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/1.387, allocations: 46.03 kB / 1.431 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 2.484e-06/1.387, allocations: 0 / 1.431 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.002809/1.39, allocations: 1.209 MB / 1.432 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/1.39, allocations: 55.41 kB / 1.432 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/1.39, allocations: 390.2 kB / 1.432 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/1.39, allocations: 31.33 kB / 1.432 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/1.391, allocations: 385 kB / 1.433 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/1.391, allocations: 147.9 kB / 1.433 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/1.391, allocations: 11 kB / 1.433 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.391, allocations: 360.4 kB / 1.433 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/1.391, allocations: 235.9 kB / 1.434 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/1.392, allocations: 424.1 kB / 1.434 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/1.392, allocations: 307.6 kB / 1.434 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.392, allocations: 3.953 kB / 1.434 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001968/1.394, allocations: 1 MB / 1.435 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/1.394, allocations: 9.203 kB / 1.435 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/1.394, allocations: 8 kB / 1.435 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009845/1.395, allocations: 321 kB / 1.436 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/1.396, allocations: 91.77 kB / 1.436 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00712/1.403, allocations: 7.089 MB / 1.443 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/1.403, allocations: 34.66 kB / 1.443 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/1.404, allocations: 23.88 kB / 1.443 GB, free: 3.648 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.0001955/1.404, allocations: 131.5 kB / 1.443 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/1.404, allocations: 67.25 kB / 1.443 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/1.406, allocations: 0.8915 MB / 1.444 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.406, allocations: 4 kB / 1.444 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/1.406, allocations: 4 kB / 1.444 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.406, allocations: 3.984 kB / 1.444 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003109/1.409, allocations: 1.851 MB / 1.445 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.409, allocations: 0 / 1.445 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/1.409, allocations: 43.84 kB / 1.446 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008429/1.41, allocations: 288.2 kB / 1.446 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/1.41, allocations: 7.812 kB / 1.446 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006906/1.417, allocations: 6.819 MB / 1.452 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.417, allocations: 4.094 kB / 1.452 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/1.419, allocations: 1.003 MB / 1.453 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/1.419, allocations: 174.9 kB / 1.454 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.883e-05/1.419, allocations: 7.547 kB / 1.454 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/1.419, allocations: 26.55 kB / 1.454 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.42, allocations: 42.77 kB / 1.454 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/1.42, allocations: 8 kB / 1.454 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003638/1.42, allocations: 312.6 kB / 1.454 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/1.42, allocations: 0 / 1.454 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008766/1.421, allocations: 194 kB / 1.454 GB, free: 8.758 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.002036/1.423, allocations: 1.978 MB / 1.456 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001774/1.425, allocations: 1.14 MB / 1.457 GB, free: 5.941 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.425, allocations: 0 / 1.457 GB, free: 5.941 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/1.426, allocations: 0.8222 MB / 1.458 GB, free: 5.184 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008474/1.427, allocations: 172.6 kB / 1.458 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/1.429, allocations: 1.043 MB / 1.459 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/1.43, allocations: 1.006 MB / 1.46 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003442/1.43, allocations: 105.1 kB / 1.46 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/1.43, allocations: 224.9 kB / 1.461 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of SimCode: time 1.052e-06/1.43, allocations: 0 / 1.461 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/1.463, allocations: 14.01 MB / 1.474 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/1.463, allocations: 179.5 kB / 1.474 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/4.001, allocations: 2 kB / 1.474 GB, free: 4.938 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat