Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001402, allocations: 186.6 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009144/0.0009144, allocations: 84.67 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 12.34 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2255, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6487/0.8743, allocations: 174.8 MB / 1.071 GB, free: 153.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.8747, allocations: 96.38 kB / 1.071 GB, free: 153.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3325/1.207, allocations: 160.4 MB / 1.228 GB, free: 1.508 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.355e-06/1.207, allocations: 0 / 1.228 GB, free: 1.508 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002723/1.208, allocations: 99.92 kB / 1.228 GB, free: 1.41 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01134/1.219, allocations: 3.482 MB / 1.231 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.219, allocations: 12.03 kB / 1.231 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00598/1.225, allocations: 0.9705 MB / 1.232 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006896/1.232, allocations: 2.295 MB / 1.234 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/1.232, allocations: 324.6 kB / 1.235 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/1.234, allocations: 428 kB / 1.235 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01794/1.252, allocations: 6.687 MB / 1.241 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/1.252, allocations: 7.938 kB / 1.241 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007311/1.253, allocations: 188 kB / 1.242 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003021/1.253, allocations: 251 kB / 1.242 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/1.265, allocations: 5.328 MB / 1.247 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04511/1.31, allocations: 32.48 MB / 1.279 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/1.314, allocations: 1.872 MB / 1.281 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/1.314, allocations: 97.81 kB / 1.281 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/1.314, allocations: 47.2 kB / 1.281 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=86): time 2.685e-06/1.314, allocations: 4 kB / 1.281 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of matching and sorting (n=89): time 0.007396/1.321, allocations: 4.763 MB / 1.285 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.729e-05/1.321, allocations: 137.2 kB / 1.286 GB, free: 2.711 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/1.323, allocations: 1.471 MB / 1.287 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/1.324, allocations: 45.7 kB / 1.287 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1.325, allocations: 1.897 MB / 1.289 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/1.325, allocations: 335.5 kB / 1.289 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/1.325, allocations: 43.94 kB / 1.289 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001946/1.325, allocations: 398 kB / 1.29 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/1.327, allocations: 1.089 MB / 1.291 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/1.329, allocations: 2.161 MB / 1.293 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/1.332, allocations: 1.515 MB / 1.294 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/1.332, allocations: 12 kB / 1.294 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005032/1.337, allocations: 3.284 MB / 1.298 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.005552/1.342, allocations: 13.42 MB / 1.311 GB, free: 7.422 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/1.342, allocations: 32 kB / 1.311 GB, free: 7.391 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/1.342, allocations: 52 kB / 1.311 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00319/1.346, allocations: 0.6239 MB / 1.311 GB, free: 6.715 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.618e-05/1.346, allocations: 67.78 kB / 1.311 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/1.349, allocations: 370.7 kB / 1.312 GB, free: 6.285 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003448/1.349, allocations: 112 kB / 1.312 GB, free: 6.176 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.349, allocations: 6.5 kB / 1.312 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004301/1.353, allocations: 2.726 MB / 1.314 GB, free: 3.441 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.873e-05/1.353, allocations: 36 kB / 1.315 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.856e-05/1.353, allocations: 60.09 kB / 1.315 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/1.355, allocations: 0.546 MB / 1.315 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.697e-05/1.355, allocations: 71.72 kB / 1.315 GB, free: 2.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/1.357, allocations: 255 kB / 1.315 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/1.357, allocations: 112 kB / 1.316 GB, free: 2.371 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.003182/1.36, allocations: 1.702 MB / 1.317 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004658/1.361, allocations: 154.1 kB / 1.317 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/1.364, allocations: 1.894 MB / 1.319 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.364, allocations: 15.94 kB / 1.319 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.364, allocations: 7.984 kB / 1.319 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.364, allocations: 11.94 kB / 1.319 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/1.377, allocations: 8.755 MB / 1.328 GB, free: 5.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.377, allocations: 8 kB / 1.328 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.379, allocations: 339.5 kB / 1.328 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.807e-05/1.379, allocations: 16 kB / 1.328 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/1.379, allocations: 20 kB / 1.328 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.336e-05/1.379, allocations: 19.92 kB / 1.328 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/1.379, allocations: 15.94 kB / 1.328 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003083/1.382, allocations: 2.894 MB / 1.331 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.383, allocations: 458.8 kB / 1.331 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/1.383, allocations: 24 kB / 1.331 GB, free: 1.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.384, allocations: 175.7 kB / 1.332 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.384, allocations: 80.27 kB / 1.332 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/1.384, allocations: 36 kB / 1.332 GB, free: 1.133 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001542/1.386, allocations: 1.089 MB / 1.333 GB, free: 48 kB / 0.8073 GB Notification: Performance of sort global known variables: time 2.01e-07/1.386, allocations: 0 / 1.333 GB, free: 48 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004087/1.39, allocations: 1.23 MB / 1.334 GB, free: 14.81 MB / 0.823 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 (92): * Single equations (assignments): 92 * 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.0002956/1.39, allocations: 150.9 kB / 1.334 GB, free: 14.66 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00583/1.396, allocations: 3.793 MB / 1.338 GB, free: 10.88 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.396, allocations: 4 kB / 1.338 GB, free: 10.88 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/1.397, allocations: 0.884 MB / 1.339 GB, free: 9.988 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/1.4, allocations: 382.3 kB / 1.339 GB, free: 9.621 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.414, allocations: 8.15 MB / 1.347 GB, free: 1.328 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003548/1.418, allocations: 2.931 MB / 1.35 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003138/1.421, allocations: 1.2 MB / 1.351 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/1.422, allocations: 115.4 kB / 1.351 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of SimCode: time 9.42e-07/1.422, allocations: 7.875 kB / 1.351 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.04057/1.462, allocations: 22.01 MB / 1.373 GB, free: 7.191 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches