Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.3 MB / 405.3 MB, free: 13.47 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: 185 kB / 498.1 MB, free: 5.738 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.407/1.407, allocations: 223.2 MB / 0.7948 GB, free: 18.9 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.0009934/0.0009933, allocations: 102.3 kB / 0.9346 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 9.375 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2664, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7389/1.005, allocations: 191.8 MB / 1.41 GB, free: 177.5 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003804/1.006, allocations: 102.7 kB / 1.41 GB, free: 177.5 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2626/1.268, allocations: 119.5 MB / 1.527 GB, free: 84.52 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.994e-06/1.268, allocations: 3.938 kB / 1.527 GB, free: 84.52 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001453/1.269, allocations: 67.98 kB / 1.527 GB, free: 84.45 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.008345/1.277, allocations: 2.516 MB / 1.53 GB, free: 81.88 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.277, allocations: 12.03 kB / 1.53 GB, free: 81.86 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002017/1.279, allocations: 449.8 kB / 1.53 GB, free: 81.41 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004668/1.284, allocations: 0.6989 MB / 1.531 GB, free: 80.71 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004361/1.288, allocations: 1.605 MB / 1.532 GB, free: 79.06 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/1.288, allocations: 229.7 kB / 1.532 GB, free: 78.84 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/1.29, allocations: 280 kB / 1.533 GB, free: 78.56 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/1.303, allocations: 4.595 MB / 1.537 GB, free: 73.78 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001922/1.303, allocations: 7.938 kB / 1.537 GB, free: 73.77 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001251/1.305, allocations: 120 kB / 1.537 GB, free: 73.66 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002852/1.305, allocations: 184.6 kB / 1.538 GB, free: 73.47 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/1.315, allocations: 3.749 MB / 1.541 GB, free: 69.71 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03484/1.35, allocations: 23.06 MB / 1.564 GB, free: 44.51 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003625/1.354, allocations: 1.575 MB / 1.565 GB, free: 42.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/1.354, allocations: 101.7 kB / 1.565 GB, free: 42.78 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/1.354, allocations: 43.06 kB / 1.565 GB, free: 42.73 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=72): time 4.188e-06/1.354, allocations: 0 / 1.565 GB, free: 42.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75): time 0.008348/1.363, allocations: 3.553 MB / 1.569 GB, free: 39.14 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/1.363, allocations: 137.1 kB / 1.569 GB, free: 38.98 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/1.365, allocations: 0.9263 MB / 1.57 GB, free: 38.05 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/1.365, allocations: 45.7 kB / 1.57 GB, free: 38 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007749/1.366, allocations: 1.2 MB / 1.571 GB, free: 36.78 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/1.366, allocations: 268.2 kB / 1.571 GB, free: 36.51 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/1.366, allocations: 24 kB / 1.571 GB, free: 36.49 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000186/1.366, allocations: 410.7 kB / 1.572 GB, free: 36.08 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/1.368, allocations: 0.7872 MB / 1.573 GB, free: 35.29 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/1.37, allocations: 1.283 MB / 1.574 GB, free: 33.79 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/1.371, allocations: 0.9866 MB / 1.575 GB, free: 32.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/1.371, allocations: 4 kB / 1.575 GB, free: 32.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004211/1.376, allocations: 2.155 MB / 1.577 GB, free: 30.63 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001168/1.377, allocations: 5.501 MB / 1.582 GB, free: 24.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/1.377, allocations: 15.94 kB / 1.582 GB, free: 24.69 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.077e-05/1.377, allocations: 24 kB / 1.582 GB, free: 24.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/1.379, allocations: 415.3 kB / 1.583 GB, free: 24.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.377e-05/1.379, allocations: 31.86 kB / 1.583 GB, free: 24.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/1.381, allocations: 259.2 kB / 1.583 GB, free: 23.97 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/1.381, allocations: 59.98 kB / 1.583 GB, free: 23.91 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.381, allocations: 4 kB / 1.583 GB, free: 23.91 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00327/1.385, allocations: 1.75 MB / 1.585 GB, free: 22.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/1.385, allocations: 19.94 kB / 1.585 GB, free: 22.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.334e-05/1.385, allocations: 24.05 kB / 1.585 GB, free: 22.12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.387, allocations: 367.3 kB / 1.585 GB, free: 21.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.042e-05/1.387, allocations: 31.91 kB / 1.585 GB, free: 21.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.388, allocations: 175.4 kB / 1.585 GB, free: 21.55 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/1.388, allocations: 63.98 kB / 1.585 GB, free: 21.49 MB / 0.9011 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.00275/1.391, allocations: 1.172 MB / 1.587 GB, free: 20.31 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/1.392, allocations: 102.8 kB / 1.587 GB, free: 20.21 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/1.394, allocations: 1.506 MB / 1.588 GB, free: 18.69 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/1.394, allocations: 15.94 kB / 1.588 GB, free: 18.68 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.395, allocations: 0 / 1.588 GB, free: 18.68 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.395, allocations: 11.98 kB / 1.588 GB, free: 18.66 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/1.406, allocations: 7.258 MB / 1.595 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/1.406, allocations: 8 kB / 1.595 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.407, allocations: 267.5 kB / 1.595 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.858e-05/1.407, allocations: 12 kB / 1.595 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.469e-05/1.408, allocations: 24 kB / 1.596 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/1.408, allocations: 15.94 kB / 1.596 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/1.408, allocations: 20.08 kB / 1.596 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/1.41, allocations: 2.417 MB / 1.598 GB, free: 8.086 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008617/1.411, allocations: 371.6 kB / 1.598 GB, free: 7.703 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/1.411, allocations: 23.98 kB / 1.598 GB, free: 7.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.412, allocations: 139.8 kB / 1.598 GB, free: 7.543 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.412, allocations: 71.75 kB / 1.598 GB, free: 7.473 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-05/1.412, allocations: 32 kB / 1.599 GB, free: 7.441 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001008/1.413, allocations: 0.7064 MB / 1.599 GB, free: 6.723 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/1.413, allocations: 4 kB / 1.599 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003123/1.416, allocations: 0.8281 MB / 1.6 GB, free: 5.891 MB / 0.9011 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.002767/1.419, allocations: 5.56 MB / 1.605 GB, free: 56 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004338/1.423, allocations: 2.653 MB / 1.608 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/1.424, allocations: 0 / 1.608 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/1.425, allocations: 0.739 MB / 1.609 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.426, allocations: 261.1 kB / 1.609 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02652/1.453, allocations: 20.31 MB / 1.629 GB, free: 7.516 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002549/1.455, allocations: 2.179 MB / 1.631 GB, free: 5.305 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002114/1.458, allocations: 0.7305 MB / 1.632 GB, free: 4.57 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.459, allocations: 0.8195 MB / 1.632 GB, free: 3.75 MB / 0.9323 GB Notification: Performance of SimCode: time 1.122e-06/1.459, allocations: 0 / 1.632 GB, free: 3.75 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05374/1.513, allocations: 30.19 MB / 1.662 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/1.513, allocations: 198.6 kB / 1.662 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/4.128, allocations: 1.562 kB / 1.662 GB, free: 5.66 MB / 0.9636 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat does not exist to compare? outputFormat=mat