Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009401/0.00094, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008714/0.008714, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.834/2.834, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003665, allocations: 8.594 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3764, allocations: 159.6 MB / 1.059 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.004947/0.3814, allocations: 3.983 MB / 1.063 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004542/0.3859, allocations: 2.817 MB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.3862, allocations: 7.938 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.3865, allocations: 67.42 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.3876, allocations: 390.4 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.3889, allocations: 485.9 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.3899, allocations: 1.009 MB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008587/0.3908, allocations: 0.5043 MB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.3911, allocations: 227 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005294/0.3917, allocations: 338.8 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.909e-05/0.3917, allocations: 24 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006743/0.3924, allocations: 415.1 kB / 1.069 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.3927, allocations: 179.5 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.393, allocations: 260.3 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008032/0.3938, allocations: 0.7516 MB / 1.07 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3938, allocations: 0 / 1.07 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3938, allocations: 0 / 1.07 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.3938, allocations: 0 / 1.07 GB, free: 9.961 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001433/0.3953, allocations: 0.76 MB / 1.071 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3953, allocations: 8.031 kB / 1.071 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.3968, allocations: 220 kB / 1.071 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.3973, allocations: 375 kB / 1.071 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.3973, allocations: 25.38 kB / 1.071 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.646e-05/0.3974, allocations: 44.36 kB / 1.071 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.3989, allocations: 0.887 MB / 1.072 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.399, allocations: 7.922 kB / 1.072 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.399, allocations: 23.98 kB / 1.072 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.853e-05/0.3991, allocations: 64.95 kB / 1.072 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.4006, allocations: 0.7452 MB / 1.073 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/0.4047, allocations: 4.531 MB / 1.077 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.4063, allocations: 0.6893 MB / 1.078 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006878/0.407, allocations: 337.3 kB / 1.078 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.407, allocations: 4 kB / 1.078 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.407, allocations: 38.56 kB / 1.078 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=38): time 2.655e-06/0.4071, allocations: 0 / 1.078 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39): time 0.002413/0.4095, allocations: 1.053 MB / 1.079 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.4095, allocations: 85.05 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.4099, allocations: 357.5 kB / 1.08 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.4099, allocations: 33.7 kB / 1.08 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.4101, allocations: 287.8 kB / 1.08 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.4102, allocations: 138 kB / 1.08 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.4103, allocations: 45.7 kB / 1.08 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4105, allocations: 354.7 kB / 1.081 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006834/0.4112, allocations: 300.9 kB / 1.081 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007923/0.412, allocations: 0.5117 MB / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.4134, allocations: 0.8459 MB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4135, allocations: 4 kB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001705/0.4152, allocations: 0.8594 MB / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.4154, allocations: 286.4 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.4154, allocations: 4 kB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.4154, allocations: 16 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008181/0.4162, allocations: 183.7 kB / 1.084 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.4163, allocations: 15.94 kB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.4169, allocations: 91.69 kB / 1.084 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.4169, allocations: 31.92 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/0.4169, allocations: 4 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001416/0.4183, allocations: 0.6861 MB / 1.084 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.4184, allocations: 8.812 kB / 1.084 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.4184, allocations: 8 kB / 1.084 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006815/0.4191, allocations: 167.8 kB / 1.085 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.4191, allocations: 19.92 kB / 1.085 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.4196, allocations: 83.62 kB / 1.085 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.4196, allocations: 24 kB / 1.085 GB, free: 9.863 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003128/0.4199, allocations: 284.8 kB / 1.085 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.42, allocations: 39.53 kB / 1.085 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.4216, allocations: 0.7319 MB / 1.086 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.4217, allocations: 4 kB / 1.086 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4217, allocations: 4 kB / 1.086 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4217, allocations: 0 / 1.086 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.4241, allocations: 1.509 MB / 1.087 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.4241, allocations: 4 kB / 1.087 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.4249, allocations: 155.8 kB / 1.087 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.4249, allocations: 4 kB / 1.087 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.425, allocations: 8 kB / 1.087 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.425, allocations: 4 kB / 1.087 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.425, allocations: 11.91 kB / 1.087 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.4263, allocations: 0.8436 MB / 1.088 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.4265, allocations: 172.4 kB / 1.088 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.4266, allocations: 11.94 kB / 1.088 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005293/0.4271, allocations: 75.84 kB / 1.088 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.4273, allocations: 31.91 kB / 1.088 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.4273, allocations: 15.98 kB / 1.088 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003546/0.4276, allocations: 271.1 kB / 1.089 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4277, allocations: 0 / 1.089 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008554/0.4285, allocations: 200 kB / 1.089 GB, free: 5.359 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001597/0.4287, allocations: 119.1 kB / 1.089 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.4309, allocations: 1.049 MB / 1.09 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4309, allocations: 0 / 1.09 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006302/0.4315, allocations: 332.1 kB / 1.09 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/0.4324, allocations: 123.5 kB / 1.09 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.435, allocations: 1.268 MB / 1.092 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.4356, allocations: 0.8836 MB / 1.093 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007865/0.4364, allocations: 220 kB / 1.093 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.4366, allocations: 43.42 kB / 1.093 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of SimCode: time 2.264e-06/0.4366, allocations: 0 / 1.093 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of Templates: time 0.01197/0.4486, allocations: 6.941 MB / 1.1 GB, free: 10.36 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches