Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.264/2.264, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001107/0.001107, allocations: 180.8 kB / 487.4 MB, free: 5.027 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.535/1.535, allocations: 221.5 MB / 0.7824 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 104.4 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.009e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2849, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.29, allocations: 164.5 MB / 1.367 GB, free: 18.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.29, allocations: 93.5 kB / 1.367 GB, free: 18.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06414/1.355, allocations: 30.18 MB / 1.396 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.034e-06/1.355, allocations: 0 / 1.396 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.517e-05/1.355, allocations: 11.66 kB / 1.396 GB, free: 24.61 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001042/1.356, allocations: 0.6797 MB / 1.397 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.356, allocations: 7.688 kB / 1.397 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/1.357, allocations: 186.3 kB / 1.397 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/1.358, allocations: 402.3 kB / 1.398 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/1.358, allocations: 7.531 kB / 1.398 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/1.358, allocations: 19.44 kB / 1.398 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005125/1.358, allocations: 346.4 kB / 1.398 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/1.359, allocations: 0.6508 MB / 1.399 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/1.359, allocations: 3.938 kB / 1.399 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/1.359, allocations: 3.844 kB / 1.399 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.296e-05/1.359, allocations: 52.23 kB / 1.399 GB, free: 23.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/1.362, allocations: 3.701 MB / 1.402 GB, free: 19.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/1.364, allocations: 0.6617 MB / 1.403 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/1.364, allocations: 172 kB / 1.403 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/1.364, allocations: 3.875 kB / 1.403 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/1.364, allocations: 38.44 kB / 1.403 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 3.156e-06/1.364, allocations: 0 / 1.403 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.00144/1.365, allocations: 0.7898 MB / 1.404 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/1.365, allocations: 106.7 kB / 1.404 GB, free: 19.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/1.366, allocations: 298.7 kB / 1.404 GB, free: 19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/1.366, allocations: 33.14 kB / 1.404 GB, free: 18.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/1.366, allocations: 276.3 kB / 1.404 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.476e-05/1.366, allocations: 113.4 kB / 1.405 GB, free: 18.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/1.366, allocations: 0 / 1.405 GB, free: 18.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001848/1.366, allocations: 355.1 kB / 1.405 GB, free: 18.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/1.366, allocations: 160.6 kB / 1.405 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/1.367, allocations: 339.5 kB / 1.405 GB, free: 18.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/1.367, allocations: 207.4 kB / 1.406 GB, free: 18.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.367, allocations: 3.844 kB / 1.406 GB, free: 18.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008446/1.368, allocations: 0.5844 MB / 1.406 GB, free: 17.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/1.368, allocations: 7.688 kB / 1.406 GB, free: 17.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.368, allocations: 7.828 kB / 1.406 GB, free: 17.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/1.368, allocations: 94.16 kB / 1.406 GB, free: 17.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/1.369, allocations: 104.7 kB / 1.406 GB, free: 17.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/1.372, allocations: 3.882 MB / 1.41 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/1.372, allocations: 15.67 kB / 1.41 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/1.372, allocations: 29.83 kB / 1.41 GB, free: 14.03 MB / 0.8386 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 (57): * Single equations (assignments): 54 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001604/1.372, allocations: 123.9 kB / 1.41 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007265/1.373, allocations: 439.9 kB / 1.411 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/1.373, allocations: 46.66 kB / 1.411 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007526/1.374, allocations: 492.6 kB / 1.411 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/1.374, allocations: 7.812 kB / 1.411 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.374, allocations: 0 / 1.411 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/1.374, allocations: 3.844 kB / 1.411 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/1.376, allocations: 1.18 MB / 1.412 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.376, allocations: 3.844 kB / 1.412 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/1.376, allocations: 61.97 kB / 1.413 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002438/1.376, allocations: 97.02 kB / 1.413 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/1.376, allocations: 3.844 kB / 1.413 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002696/1.379, allocations: 3.862 MB / 1.416 GB, free: 8.992 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.379, allocations: 4 kB / 1.416 GB, free: 8.988 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008369/1.38, allocations: 0.8711 MB / 1.417 GB, free: 8.105 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/1.38, allocations: 155.4 kB / 1.417 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/1.38, allocations: 4 kB / 1.417 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/1.38, allocations: 19.97 kB / 1.417 GB, free: 7.922 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/1.38, allocations: 38.73 kB / 1.417 GB, free: 7.891 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/1.38, allocations: 12 kB / 1.417 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002208/1.381, allocations: 239.8 kB / 1.418 GB, free: 7.695 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.381, allocations: 3.938 kB / 1.418 GB, free: 7.691 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006866/1.381, allocations: 112 kB / 1.418 GB, free: 7.582 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001373/1.383, allocations: 2.164 MB / 1.42 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001156/1.384, allocations: 0.7427 MB / 1.421 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/1.384, allocations: 0 / 1.421 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006156/1.385, allocations: 0.5195 MB / 1.421 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/1.385, allocations: 102.3 kB / 1.421 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/1.387, allocations: 0.7411 MB / 1.422 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/1.387, allocations: 0.8769 MB / 1.423 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002851/1.387, allocations: 100.9 kB / 1.423 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/1.388, allocations: 146.3 kB / 1.423 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of SimCode: time 7.62e-07/1.388, allocations: 0 / 1.423 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/1.418, allocations: 8.41 MB / 1.431 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/1.418, allocations: 151.6 kB / 1.431 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/3.718, allocations: 4.031 kB / 1.431 GB, free: 9.879 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat