Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002117/0.002117, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.995/2.995, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.292/5.292, allocations: 409.2 MB / 0.6838 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005644/0.0005646, allocations: 8 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563/1.564, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.04154/1.605, allocations: 18.18 MB / 0.9986 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02502/1.63, allocations: 7.1 MB / 1.006 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00365/1.634, allocations: 47.81 kB / 1.006 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003255/1.637, allocations: 389.5 kB / 1.006 GB, free: 12.49 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006801/1.644, allocations: 0.7748 MB / 1.007 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008209/1.653, allocations: 1.128 MB / 1.008 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00742/1.66, allocations: 2.005 MB / 1.01 GB, free: 8.582 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02048/1.681, allocations: 6.558 MB / 1.016 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00369/1.684, allocations: 1.047 MB / 1.017 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003853/1.688, allocations: 1.207 MB / 1.018 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000885/1.689, allocations: 176 kB / 1.019 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/1.691, allocations: 415.5 kB / 1.019 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001443/1.692, allocations: 1.228 MB / 1.02 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008373/1.693, allocations: 0.5589 MB / 1.021 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005688/1.699, allocations: 5.106 MB / 1.026 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.699, allocations: 0 / 1.026 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.374e-06/1.699, allocations: 0 / 1.026 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001862/1.699, allocations: 0 / 1.026 GB, free: 8.195 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.006632/1.706, allocations: 2.482 MB / 1.028 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/1.706, allocations: 8.031 kB / 1.028 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001254/1.707, allocations: 445.8 kB / 1.029 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004042/1.711, allocations: 0.7148 MB / 1.029 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004288/1.715, allocations: 1.523 MB / 1.031 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/1.716, allocations: 217.7 kB / 1.031 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006899/1.716, allocations: 287.9 kB / 1.031 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/1.726, allocations: 5.008 MB / 1.036 GB, free: 13.22 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-05/1.727, allocations: 11.88 kB / 1.036 GB, free: 13.21 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003345/1.727, allocations: 120 kB / 1.036 GB, free: 13.09 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002902/1.727, allocations: 208.6 kB / 1.036 GB, free: 12.88 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008606/1.736, allocations: 4.161 MB / 1.041 GB, free: 8.707 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03693/1.773, allocations: 23.02 MB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006115/1.779, allocations: 1.727 MB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003493/1.779, allocations: 101.7 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/1.78, allocations: 39.22 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=84): time 6.853e-06/1.78, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87): time 0.01205/1.792, allocations: 3.997 MB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001894/1.792, allocations: 141.1 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/1.794, allocations: 0.8487 MB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003376/1.795, allocations: 41.7 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001762/1.796, allocations: 1.154 MB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007248/1.797, allocations: 311.6 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/1.797, allocations: 24 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000574/1.798, allocations: 410.6 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/1.8, allocations: 0.795 MB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002906/1.803, allocations: 1.283 MB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/1.806, allocations: 0.9984 MB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/1.806, allocations: 4 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.005928/1.812, allocations: 2.171 MB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.004157/1.816, allocations: 5.499 MB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.623e-05/1.816, allocations: 12 kB / 1.082 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.473e-05/1.816, allocations: 24 kB / 1.082 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003478/1.819, allocations: 411.3 kB / 1.082 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.679e-05/1.82, allocations: 27.88 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/1.822, allocations: 195.3 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/1.822, allocations: 63.98 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.822, allocations: 4 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005139/1.828, allocations: 1.76 MB / 1.084 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.793e-05/1.828, allocations: 16.89 kB / 1.084 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.313e-05/1.828, allocations: 24 kB / 1.085 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/1.83, allocations: 355.4 kB / 1.085 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.279e-05/1.83, allocations: 31.86 kB / 1.085 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.832, allocations: 151.4 kB / 1.085 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/1.832, allocations: 56 kB / 1.085 GB, free: 8.082 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003848/1.836, allocations: 1.176 MB / 1.086 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005733/1.837, allocations: 106.8 kB / 1.086 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005343/1.842, allocations: 1.85 MB / 1.088 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/1.842, allocations: 8 kB / 1.088 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.55e-05/1.842, allocations: 0 / 1.088 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/1.842, allocations: 7.984 kB / 1.088 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/1.868, allocations: 9.58 MB / 1.098 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-05/1.868, allocations: 15.94 kB / 1.098 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002245/1.87, allocations: 324.2 kB / 1.098 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.041e-05/1.87, allocations: 16 kB / 1.098 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/1.87, allocations: 31.98 kB / 1.098 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-05/1.87, allocations: 19.94 kB / 1.098 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.906e-05/1.87, allocations: 15.94 kB / 1.098 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006624/1.877, allocations: 2.98 MB / 1.101 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/1.878, allocations: 383.5 kB / 1.101 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/1.879, allocations: 35.92 kB / 1.101 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/1.881, allocations: 135.8 kB / 1.101 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/1.881, allocations: 87.7 kB / 1.101 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/1.881, allocations: 47.95 kB / 1.101 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001411/1.883, allocations: 0.581 MB / 1.102 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4e-07/1.883, allocations: 0 / 1.102 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005539/1.888, allocations: 0.7461 MB / 1.103 GB, free: 5.203 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009407/1.898, allocations: 6.921 MB / 1.11 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007737/1.905, allocations: 2.826 MB / 1.112 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-05/1.905, allocations: 4 kB / 1.112 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/1.908, allocations: 0.9091 MB / 1.113 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/1.911, allocations: 258.3 kB / 1.113 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04067/1.951, allocations: 20.79 MB / 1.134 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004492/1.956, allocations: 2.175 MB / 1.136 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.003755/1.96, allocations: 0.7422 MB / 1.137 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002651/1.962, allocations: 0.8312 MB / 1.137 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of SimCode: time 1.853e-06/1.963, allocations: 7.875 kB / 1.137 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.524/3.486, allocations: 31.08 MB / 1.168 GB, free: 2.02 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004445/3.487, allocations: 205.9 kB / 1.168 GB, free: 1.781 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.28/9.767, allocations: 0 / 1.168 GB, free: 1.781 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat does not exist to compare? outputFormat=mat