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/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.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/Buildings 10.0.0-master/package.mo): time 2.403/2.403, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001337/0.001338, allocations: 176 kB / 0.4901 GB, free: 2.25 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.644/1.644, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0009976/0.0009976, allocations: 98.02 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005083/0.0005083, allocations: 13.94 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3265, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2362/0.5627, allocations: 192.6 MB / 1.417 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/0.5632, allocations: 95.94 kB / 1.417 GB, free: 8.695 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.8857/1.449, allocations: 119.5 MB / 1.534 GB, free: 59.77 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.994e-06/1.449, allocations: 3.969 kB / 1.534 GB, free: 59.77 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001683/1.449, allocations: 74.73 kB / 1.534 GB, free: 59.75 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.008156/1.457, allocations: 2.517 MB / 1.537 GB, free: 58.24 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/1.457, allocations: 11.72 kB / 1.537 GB, free: 58.24 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0018/1.459, allocations: 443.2 kB / 1.537 GB, free: 58.11 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004483/1.464, allocations: 0.7038 MB / 1.538 GB, free: 57.78 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004254/1.468, allocations: 1.607 MB / 1.539 GB, free: 57.15 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/1.468, allocations: 221.8 kB / 1.54 GB, free: 57.13 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/1.469, allocations: 283.2 kB / 1.54 GB, free: 57.13 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/1.48, allocations: 4.599 MB / 1.544 GB, free: 55.75 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/1.48, allocations: 7.875 kB / 1.544 GB, free: 55.74 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004883/1.481, allocations: 132.2 kB / 1.544 GB, free: 55.73 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002218/1.481, allocations: 184.5 kB / 1.545 GB, free: 55.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006247/1.487, allocations: 3.754 MB / 1.548 GB, free: 55.11 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02415/1.511, allocations: 23.05 MB / 1.571 GB, free: 37.82 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/1.514, allocations: 1.582 MB / 1.572 GB, free: 37.36 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/1.514, allocations: 93.27 kB / 1.572 GB, free: 37.27 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.514, allocations: 50.27 kB / 1.573 GB, free: 37.22 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=72): time 3.397e-06/1.515, allocations: 0 / 1.573 GB, free: 37.22 MB / 0.9167 GB Notification: Performance of matching and sorting (n=75): time 0.005308/1.52, allocations: 3.54 MB / 1.576 GB, free: 35.58 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/1.52, allocations: 149.2 kB / 1.576 GB, free: 35.41 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/1.521, allocations: 0.9305 MB / 1.577 GB, free: 35.12 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.11e-05/1.521, allocations: 39.55 kB / 1.577 GB, free: 35.09 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/1.522, allocations: 1.191 MB / 1.578 GB, free: 34.24 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/1.522, allocations: 268.1 kB / 1.578 GB, free: 34.05 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/1.522, allocations: 24.69 kB / 1.579 GB, free: 34.05 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.522, allocations: 414.5 kB / 1.579 GB, free: 33.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/1.523, allocations: 0.7843 MB / 1.58 GB, free: 33.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/1.524, allocations: 1.275 MB / 1.581 GB, free: 32.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/1.526, allocations: 0.992 MB / 1.582 GB, free: 32.63 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.526, allocations: 7.594 kB / 1.582 GB, free: 32.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002817/1.529, allocations: 2.156 MB / 1.584 GB, free: 31.94 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009771/1.53, allocations: 5.499 MB / 1.589 GB, free: 26.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/1.53, allocations: 15.53 kB / 1.589 GB, free: 26.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.534e-05/1.53, allocations: 22.84 kB / 1.589 GB, free: 26.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/1.531, allocations: 421.2 kB / 1.59 GB, free: 25.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/1.531, allocations: 27.28 kB / 1.59 GB, free: 25.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/1.533, allocations: 259.6 kB / 1.59 GB, free: 25.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/1.533, allocations: 58.64 kB / 1.59 GB, free: 25.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.533, allocations: 3.906 kB / 1.59 GB, free: 25.75 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002304/1.535, allocations: 1.748 MB / 1.592 GB, free: 24.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.535, allocations: 15.62 kB / 1.592 GB, free: 24.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.535, allocations: 28.61 kB / 1.592 GB, free: 24.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/1.536, allocations: 363.1 kB / 1.592 GB, free: 24.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/1.537, allocations: 31.45 kB / 1.592 GB, free: 24.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.538, allocations: 185.8 kB / 1.592 GB, free: 24.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/1.538, allocations: 51.25 kB / 1.592 GB, free: 24.64 MB / 0.9167 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.002211/1.54, allocations: 1.169 MB / 1.594 GB, free: 23.87 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/1.54, allocations: 98.7 kB / 1.594 GB, free: 23.82 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/1.542, allocations: 1.519 MB / 1.595 GB, free: 22.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.542, allocations: 15.48 kB / 1.595 GB, free: 22.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.542, allocations: 0 / 1.595 GB, free: 22.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.542, allocations: 7.672 kB / 1.595 GB, free: 22.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009415/1.552, allocations: 7.261 MB / 1.602 GB, free: 18.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/1.552, allocations: 11.98 kB / 1.602 GB, free: 18.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.553, allocations: 259.5 kB / 1.603 GB, free: 17.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.301e-05/1.553, allocations: 16.38 kB / 1.603 GB, free: 17.79 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/1.553, allocations: 28 kB / 1.603 GB, free: 17.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.817e-05/1.553, allocations: 19.92 kB / 1.603 GB, free: 17.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/1.553, allocations: 19.92 kB / 1.603 GB, free: 17.73 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/1.556, allocations: 2.421 MB / 1.605 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007693/1.556, allocations: 371.6 kB / 1.605 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/1.557, allocations: 31.98 kB / 1.605 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008863/1.558, allocations: 135.7 kB / 1.606 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.558, allocations: 75.77 kB / 1.606 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/1.558, allocations: 32 kB / 1.606 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009702/1.559, allocations: 0.7103 MB / 1.606 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.61e-07/1.559, allocations: 0 / 1.606 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00289/1.562, allocations: 0.828 MB / 1.607 GB, free: 12.75 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (78): * Single equations (assignments): 78 * 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.002746/1.564, allocations: 5.559 MB / 1.613 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00327/1.568, allocations: 2.642 MB / 1.615 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.568, allocations: 0 / 1.615 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008212/1.569, allocations: 0.7435 MB / 1.616 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/1.57, allocations: 257.6 kB / 1.616 GB, free: 3.289 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/1.596, allocations: 20.31 MB / 1.636 GB, free: 14.39 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/1.598, allocations: 2.167 MB / 1.638 GB, free: 12.19 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00215/1.6, allocations: 0.7422 MB / 1.639 GB, free: 11.44 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.601, allocations: 0.8156 MB / 1.64 GB, free: 10.62 MB / 0.948 GB Notification: Performance of SimCode: time 5.2e-06/1.601, allocations: 0 / 1.64 GB, free: 10.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05062/1.652, allocations: 30.2 MB / 1.669 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/1.652, allocations: 210.3 kB / 1.669 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/4.072, allocations: 0 / 1.669 GB, free: 12.51 MB / 0.9792 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) 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