Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: 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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 100.1 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.0013/0.0013, 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 1.454/1.454, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.635/2.635, allocations: 436.5 MB / 0.7104 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004995/0.0005, allocations: 8 kB / 0.8708 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8319/0.8324, allocations: 153.7 MB / 1.021 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01079/0.8433, allocations: 9.621 MB / 1.03 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008763/0.8521, allocations: 5.364 MB / 1.035 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.8534, allocations: 51.56 kB / 1.036 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007283/0.8542, allocations: 214.5 kB / 1.036 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.8569, allocations: 0.845 MB / 1.037 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.8587, allocations: 0.5873 MB / 1.037 GB, free: 332 kB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002322/0.861, allocations: 1.268 MB / 1.038 GB, free: 15.05 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003951/0.865, allocations: 2.16 MB / 1.04 GB, free: 12.86 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.8661, allocations: 0.6149 MB / 1.041 GB, free: 12.25 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009747/0.8671, allocations: 0.6458 MB / 1.042 GB, free: 11.6 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.8673, allocations: 60 kB / 1.042 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.8686, allocations: 0.5148 MB / 1.042 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.869, allocations: 422.7 kB / 1.043 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.8693, allocations: 300.9 kB / 1.043 GB, free: 10.31 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.8713, allocations: 1.716 MB / 1.045 GB, free: 8.59 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8714, allocations: 0 / 1.045 GB, free: 8.59 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8714, allocations: 0 / 1.045 GB, free: 8.59 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.375e-05/0.8714, allocations: 0 / 1.045 GB, free: 8.59 MB / 0.795 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.002723/0.8741, allocations: 1.599 MB / 1.046 GB, free: 6.934 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.8742, allocations: 11.98 kB / 1.046 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004081/0.8783, allocations: 0.6808 MB / 1.047 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.8801, allocations: 0.8789 MB / 1.048 GB, free: 5.312 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.618e-05/0.8802, allocations: 98.47 kB / 1.048 GB, free: 5.215 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.8804, allocations: 128 kB / 1.048 GB, free: 5.09 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.8835, allocations: 2.179 MB / 1.05 GB, free: 2.684 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.8835, allocations: 19.78 kB / 1.05 GB, free: 2.664 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.8837, allocations: 63.95 kB / 1.05 GB, free: 2.602 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/0.8839, allocations: 162.3 kB / 1.05 GB, free: 2.441 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.8867, allocations: 1.859 MB / 1.052 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/0.8996, allocations: 12.48 MB / 1.064 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/0.9036, allocations: 1.964 MB / 1.066 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.9038, allocations: 98.08 kB / 1.066 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.9039, allocations: 43.56 kB / 1.066 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=103): time 5.19e-06/0.9039, allocations: 4 kB / 1.066 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=110): time 0.005939/0.9098, allocations: 3.702 MB / 1.07 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.9099, allocations: 64.41 kB / 1.07 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.9111, allocations: 0.9126 MB / 1.071 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.9112, allocations: 41.7 kB / 1.071 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000519/0.9117, allocations: 0.7275 MB / 1.072 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/0.912, allocations: 390.5 kB / 1.072 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/0.9121, allocations: 31.94 kB / 1.072 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.9123, allocations: 365.9 kB / 1.072 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000871/0.9132, allocations: 0.6089 MB / 1.073 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.9145, allocations: 1.098 MB / 1.074 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.9155, allocations: 0.7681 MB / 1.075 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.9155, allocations: 4 kB / 1.075 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003213/0.9187, allocations: 2.084 MB / 1.077 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.9188, allocations: 16.95 kB / 1.077 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.9188, allocations: 16 kB / 1.077 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000761/0.9196, allocations: 258.6 kB / 1.077 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.9208, allocations: 379.4 kB / 1.078 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008251/0.9291, allocations: 10.81 MB / 1.088 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.9305, allocations: 127.8 kB / 1.088 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.9306, allocations: 67.98 kB / 1.088 GB, free: 9.012 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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.0007177/0.9313, allocations: 411.2 kB / 1.089 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.9315, allocations: 130.5 kB / 1.089 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/0.9343, allocations: 1.677 MB / 1.09 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.9344, allocations: 15.98 kB / 1.09 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.9344, allocations: 0 / 1.09 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.9344, allocations: 3.984 kB / 1.09 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/0.9395, allocations: 3.276 MB / 1.094 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.9395, allocations: 4 kB / 1.094 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008203/0.9403, allocations: 227.6 kB / 1.094 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006709/0.941, allocations: 246.8 kB / 1.094 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.435e-05/0.9411, allocations: 31.98 kB / 1.094 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008336/0.9495, allocations: 10.81 MB / 1.105 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/0.9495, allocations: 16.14 kB / 1.105 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00336/0.9529, allocations: 2.066 MB / 1.107 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007728/0.9537, allocations: 327.3 kB / 1.107 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.9539, allocations: 24 kB / 1.107 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/0.9546, allocations: 95.83 kB / 1.107 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.9548, allocations: 96.72 kB / 1.107 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/0.9549, allocations: 39.98 kB / 1.107 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007764/0.9556, allocations: 0.606 MB / 1.108 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9557, allocations: 0 / 1.108 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001452/0.9571, allocations: 396 kB / 1.108 GB, free: 3.027 MB / 0.8575 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 () * Number of clocked 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.0002397/0.9574, allocations: 147.4 kB / 1.108 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003464/0.9608, allocations: 2.489 MB / 1.111 GB, free: 288 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.9609, allocations: 0 / 1.111 GB, free: 288 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.9629, allocations: 1.622 MB / 1.112 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.9644, allocations: 317 kB / 1.113 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.9692, allocations: 3.237 MB / 1.116 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009289/0.9701, allocations: 1.36 MB / 1.117 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00106/0.9712, allocations: 359.3 kB / 1.118 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.9715, allocations: 95.42 kB / 1.118 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of SimCode: time 8.31e-07/0.9715, allocations: 0 / 1.118 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of Templates: time 0.02706/0.9985, allocations: 15.7 MB / 1.133 GB, free: 9.516 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches