Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001669/0.001669, allocations: 104.2 kB / 15.98 MB, free: 6.355 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.001869/0.001869, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.381/1.381, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.2 MB / 0.665 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.06 kB / 0.8127 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2921, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01394/0.3061, allocations: 11.04 MB / 0.9606 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.3163, allocations: 5.769 MB / 0.9662 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.318, allocations: 47.69 kB / 0.9662 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004717/0.3229, allocations: 1.631 MB / 0.9678 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.3269, allocations: 1.05 MB / 0.9689 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.3294, allocations: 0.7402 MB / 0.9696 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003373/0.3328, allocations: 2.134 MB / 0.9717 GB, free: 2.738 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.3353, allocations: 1.489 MB / 0.9731 GB, free: 1.23 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.3371, allocations: 0.8638 MB / 0.974 GB, free: 372 kB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.3391, allocations: 0.9377 MB / 0.9749 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000337/0.3394, allocations: 116 kB / 0.975 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.3422, allocations: 1.173 MB / 0.9761 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006636/0.3429, allocations: 0.5297 MB / 0.9767 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.3439, allocations: 0.781 MB / 0.9774 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.3468, allocations: 1.894 MB / 0.9793 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3468, allocations: 0 / 0.9793 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3469, allocations: 0 / 0.9793 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.793e-05/0.3469, allocations: 0 / 0.9793 GB, free: 10.92 MB / 0.7637 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.003365/0.3503, allocations: 1.864 MB / 0.9811 GB, free: 8.996 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3503, allocations: 12.03 kB / 0.9811 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004928/0.3553, allocations: 0.6698 MB / 0.9818 GB, free: 8.312 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.3571, allocations: 0.9146 MB / 0.9827 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.599e-05/0.3572, allocations: 94.89 kB / 0.9827 GB, free: 7.258 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.3574, allocations: 128.3 kB / 0.9829 GB, free: 7.133 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003443/0.3609, allocations: 2.21 MB / 0.985 GB, free: 4.699 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/0.3609, allocations: 11.84 kB / 0.985 GB, free: 4.688 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.3611, allocations: 59.97 kB / 0.9851 GB, free: 4.629 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002156/0.3613, allocations: 162.3 kB / 0.9852 GB, free: 4.469 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/0.3644, allocations: 1.867 MB / 0.9871 GB, free: 2.594 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.3782, allocations: 12.48 MB / 0.9993 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004558/0.3828, allocations: 1.964 MB / 1.001 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009173/0.3838, allocations: 0.6088 MB / 1.002 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.384, allocations: 98.09 kB / 1.002 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.384, allocations: 47.56 kB / 1.002 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=103): time 4.619e-06/0.3841, allocations: 0 / 1.002 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=110): time 0.00672/0.3908, allocations: 3.71 MB / 1.006 GB, free: 14.54 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.3909, allocations: 72.33 kB / 1.006 GB, free: 14.45 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.3924, allocations: 0.9165 MB / 1.006 GB, free: 13.52 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-05/0.3925, allocations: 41.7 kB / 1.007 GB, free: 13.47 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006804/0.3932, allocations: 0.7237 MB / 1.007 GB, free: 12.74 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.3936, allocations: 390.4 kB / 1.008 GB, free: 12.35 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004759/0.3941, allocations: 291.2 kB / 1.008 GB, free: 12.06 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3942, allocations: 301.1 kB / 1.008 GB, free: 11.76 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009795/0.3952, allocations: 0.6129 MB / 1.009 GB, free: 11.15 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.3965, allocations: 1.102 MB / 1.01 GB, free: 9.832 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00249/0.399, allocations: 1.835 MB / 1.012 GB, free: 7.781 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.3991, allocations: 4 kB / 1.012 GB, free: 7.777 MB / 0.795 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00368/0.4028, allocations: 2.1 MB / 1.014 GB, free: 5.641 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.4028, allocations: 16.03 kB / 1.014 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/0.4028, allocations: 16 kB / 1.014 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000898/0.4038, allocations: 258.6 kB / 1.014 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.4051, allocations: 375.4 kB / 1.014 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00998/0.4151, allocations: 11.59 MB / 1.026 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.4167, allocations: 123.8 kB / 1.026 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002841/0.417, allocations: 75.92 kB / 1.026 GB, free: 8.055 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009873/0.418, allocations: 405.3 kB / 1.026 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/0.4184, allocations: 130.4 kB / 1.026 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/0.4216, allocations: 1.681 MB / 1.028 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.4216, allocations: 12 kB / 1.028 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.4217, allocations: 4 kB / 1.028 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.4217, allocations: 7.969 kB / 1.028 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/0.4275, allocations: 3.295 MB / 1.031 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.4276, allocations: 7.938 kB / 1.031 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000897/0.4285, allocations: 219.6 kB / 1.031 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007892/0.4293, allocations: 251.1 kB / 1.032 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-05/0.4294, allocations: 31.94 kB / 1.032 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009552/0.4389, allocations: 11.56 MB / 1.043 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.439, allocations: 8.156 kB / 1.043 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003299/0.4423, allocations: 1.803 MB / 1.045 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007385/0.4431, allocations: 303.5 kB / 1.045 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/0.4434, allocations: 24 kB / 1.045 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009433/0.4444, allocations: 95.86 kB / 1.045 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/0.4446, allocations: 96.7 kB / 1.045 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/0.4447, allocations: 36 kB / 1.045 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001011/0.4457, allocations: 0.6138 MB / 1.046 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4458, allocations: 0 / 1.046 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001801/0.4476, allocations: 396 kB / 1.046 GB, free: 1.648 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003216/0.4479, allocations: 145.8 kB / 1.046 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00483/0.4527, allocations: 2.884 MB / 1.049 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/0.4528, allocations: 4 kB / 1.049 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.4552, allocations: 1.617 MB / 1.051 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.4578, allocations: 353.4 kB / 1.051 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006753/0.4646, allocations: 3.503 MB / 1.055 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.466, allocations: 1.327 MB / 1.056 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005045/0.4665, allocations: 111.4 kB / 1.056 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of SimCode: time 1.643e-06/0.4665, allocations: 3.938 kB / 1.056 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of Templates: time 0.5093/0.9758, allocations: 59.15 MB / 1.114 GB, free: 113.1 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches