Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 249.3 MB / 261.8 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009661/0.0009662, allocations: 182.3 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.001032/0.001032, allocations: 86.56 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.285e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2066, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6746/0.8813, allocations: 156 MB / 1.044 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.8817, allocations: 97.36 kB / 1.044 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.2034/1.085, allocations: 86.23 MB / 1.128 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.402e-06/1.085, allocations: 0 / 1.128 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001046/1.085, allocations: 43.98 kB / 1.128 GB, free: 12.3 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002932/1.088, allocations: 1.537 MB / 1.13 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/1.088, allocations: 11.97 kB / 1.13 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004747/1.093, allocations: 0.6223 MB / 1.131 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/1.095, allocations: 0.8802 MB / 1.131 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-05/1.095, allocations: 94.53 kB / 1.132 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/1.095, allocations: 131.9 kB / 1.132 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00364/1.099, allocations: 2.306 MB / 1.134 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/1.099, allocations: 7.938 kB / 1.134 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/1.099, allocations: 59.98 kB / 1.134 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002096/1.099, allocations: 146.3 kB / 1.134 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/1.102, allocations: 1.816 MB / 1.136 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/1.116, allocations: 12.51 MB / 1.148 GB, free: 6.824 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003694/1.119, allocations: 1.841 MB / 1.15 GB, free: 4.969 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008429/1.12, allocations: 0.6011 MB / 1.15 GB, free: 4.367 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/1.12, allocations: 98.09 kB / 1.151 GB, free: 4.254 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/1.12, allocations: 43.56 kB / 1.151 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=103): time 6.663e-06/1.12, allocations: 0 / 1.151 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.004431/1.125, allocations: 2.382 MB / 1.153 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/1.125, allocations: 68.41 kB / 1.153 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/1.126, allocations: 0.783 MB / 1.154 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/1.126, allocations: 41.7 kB / 1.154 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/1.127, allocations: 0.7084 MB / 1.155 GB, free: 160 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/1.127, allocations: 390.4 kB / 1.155 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/1.127, allocations: 28 kB / 1.155 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.127, allocations: 365.9 kB / 1.155 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008601/1.128, allocations: 0.5896 MB / 1.156 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/1.129, allocations: 1.024 MB / 1.157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/1.13, allocations: 0.7464 MB / 1.158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/1.131, allocations: 4 kB / 1.158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003373/1.134, allocations: 2.006 MB / 1.16 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/1.134, allocations: 9.719 kB / 1.16 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/1.134, allocations: 16 kB / 1.16 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008178/1.135, allocations: 254.8 kB / 1.16 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/1.136, allocations: 355.4 kB / 1.16 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008465/1.145, allocations: 10.74 MB / 1.171 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.146, allocations: 123.8 kB / 1.171 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/1.146, allocations: 67.98 kB / 1.171 GB, free: 14.14 MB / 0.7917 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002984/1.147, allocations: 200.6 kB / 1.171 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/1.147, allocations: 126.5 kB / 1.171 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/1.15, allocations: 1.657 MB / 1.173 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/1.15, allocations: 12 kB / 1.173 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.15, allocations: 3.938 kB / 1.173 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/1.15, allocations: 11.94 kB / 1.173 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005211/1.155, allocations: 3.266 MB / 1.176 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.155, allocations: 4 kB / 1.176 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008508/1.156, allocations: 219.6 kB / 1.176 GB, free: 8.465 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006705/1.156, allocations: 243.3 kB / 1.176 GB, free: 8.203 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.08e-05/1.156, allocations: 27.98 kB / 1.176 GB, free: 8.176 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008014/1.165, allocations: 10.74 MB / 1.187 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/1.165, allocations: 15.88 kB / 1.187 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/1.167, allocations: 2.045 MB / 1.189 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006596/1.168, allocations: 327.3 kB / 1.189 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/1.168, allocations: 27.98 kB / 1.189 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006987/1.169, allocations: 87.88 kB / 1.189 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.169, allocations: 96.5 kB / 1.189 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/1.169, allocations: 36 kB / 1.189 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007464/1.17, allocations: 0.6032 MB / 1.19 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.5e-07/1.17, allocations: 0 / 1.19 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001306/1.171, allocations: 407.9 kB / 1.19 GB, free: 8.488 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(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.0002404/1.171, allocations: 154 kB / 1.191 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003143/1.175, allocations: 2.428 MB / 1.193 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.175, allocations: 0 / 1.193 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/1.177, allocations: 1.601 MB / 1.195 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/1.178, allocations: 306.4 kB / 1.195 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/1.181, allocations: 2.162 MB / 1.197 GB, free: 1.535 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009799/1.182, allocations: 1.364 MB / 1.198 GB, free: 140 kB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001031/1.183, allocations: 355.1 kB / 1.199 GB, free: 15.78 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/1.184, allocations: 95.36 kB / 1.199 GB, free: 15.69 MB / 0.823 GB Notification: Performance of SimCode: time 5.21e-07/1.184, allocations: 0 / 1.199 GB, free: 15.69 MB / 0.823 GB Notification: Performance of Templates: time 0.02636/1.21, allocations: 15.78 MB / 1.214 GB, free: 32 kB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches