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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001149/0.001149, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001532/0.001532, allocations: 172.7 kB / 15.95 MB, free: 208 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.541/1.541, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.529/2.529, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003994, allocations: 11.98 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8741/0.8745, allocations: 142.4 MB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.009199/0.8837, allocations: 9.959 MB / 0.9642 GB, free: 124 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009238/0.893, allocations: 5.447 MB / 0.9695 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.8947, allocations: 46.41 kB / 0.9695 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008428/0.8955, allocations: 239.8 kB / 0.9698 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.8986, allocations: 0.8896 MB / 0.9706 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.9009, allocations: 0.5847 MB / 0.9712 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003677/0.9046, allocations: 2.351 MB / 0.9735 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004208/0.9088, allocations: 2.171 MB / 0.9756 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.9104, allocations: 0.6957 MB / 0.9763 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.9117, allocations: 0.8324 MB / 0.9771 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.9118, allocations: 59.12 kB / 0.9772 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.9137, allocations: 0.5975 MB / 0.9778 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006315/0.9143, allocations: 463.1 kB / 0.9782 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005669/0.9149, allocations: 297.3 kB / 0.9785 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003425/0.9184, allocations: 1.8 MB / 0.9802 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.032e-05/0.9184, allocations: 3.984 kB / 0.9802 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.534e-06/0.9184, allocations: 4 kB / 0.9802 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.227e-05/0.9184, allocations: 1.312 kB / 0.9802 GB, free: 4.867 MB / 0.7325 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.003824/0.9223, allocations: 1.616 MB / 0.9818 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.9223, allocations: 8.031 kB / 0.9818 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00436/0.9267, allocations: 0.6729 MB / 0.9825 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.9283, allocations: 0.8828 MB / 0.9834 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.832e-05/0.9284, allocations: 94.52 kB / 0.9834 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.9286, allocations: 131.9 kB / 0.9836 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003245/0.9319, allocations: 2.198 MB / 0.9857 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/0.9319, allocations: 7.938 kB / 0.9857 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.9321, allocations: 71.91 kB / 0.9858 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002014/0.9323, allocations: 162.3 kB / 0.9859 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/0.9351, allocations: 1.855 MB / 0.9878 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.9467, allocations: 12.46 MB / 0.9999 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/0.9506, allocations: 1.966 MB / 1.002 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008633/0.9515, allocations: 0.6127 MB / 1.002 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.9517, allocations: 106 kB / 1.003 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.9517, allocations: 43.56 kB / 1.003 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 3.396e-06/0.9517, allocations: 0 / 1.003 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.005841/0.9576, allocations: 3.691 MB / 1.006 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.9576, allocations: 76.3 kB / 1.006 GB, free: 8.82 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.9587, allocations: 0.9087 MB / 1.007 GB, free: 7.895 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.24e-05/0.9588, allocations: 41.7 kB / 1.007 GB, free: 7.848 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/0.9593, allocations: 0.7314 MB / 1.008 GB, free: 7.105 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.9596, allocations: 386.4 kB / 1.008 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.9596, allocations: 28 kB / 1.008 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.9598, allocations: 365.9 kB / 1.009 GB, free: 6.332 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000874/0.9607, allocations: 0.609 MB / 1.009 GB, free: 5.723 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.9619, allocations: 1.106 MB / 1.01 GB, free: 4.402 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.963, allocations: 0.7641 MB / 1.011 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.963, allocations: 8 kB / 1.011 GB, free: 3.633 MB / 0.7637 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003437/0.9665, allocations: 2.085 MB / 1.013 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.9665, allocations: 12 kB / 1.013 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/0.9665, allocations: 16 kB / 1.013 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007572/0.9673, allocations: 266.7 kB / 1.013 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.9684, allocations: 367.4 kB / 1.014 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009738/0.9782, allocations: 10.77 MB / 1.024 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.9797, allocations: 123.8 kB / 1.024 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.9798, allocations: 71.98 kB / 1.024 GB, free: 4.812 MB / 0.7794 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.0009237/0.9808, allocations: 409 kB / 1.025 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.9809, allocations: 126.5 kB / 1.025 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/0.9838, allocations: 1.684 MB / 1.027 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.9839, allocations: 12 kB / 1.027 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9839, allocations: 0 / 1.027 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.9839, allocations: 3.984 kB / 1.027 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005687/0.9896, allocations: 3.28 MB / 1.03 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.9896, allocations: 4 kB / 1.03 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007877/0.9904, allocations: 223.6 kB / 1.03 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006338/0.991, allocations: 247 kB / 1.03 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/0.9911, allocations: 31.98 kB / 1.03 GB, free: 14.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009178/1, allocations: 10.73 MB / 1.041 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/1, allocations: 20.17 kB / 1.041 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003281/1.004, allocations: 1.784 MB / 1.043 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008446/1.005, allocations: 323.3 kB / 1.043 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/1.005, allocations: 28 kB / 1.043 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/1.005, allocations: 87.88 kB / 1.043 GB, free: 456 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/1.005, allocations: 96.72 kB / 1.043 GB, free: 360 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/1.006, allocations: 43.94 kB / 1.043 GB, free: 316 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008703/1.006, allocations: 0.606 MB / 1.044 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/1.006, allocations: 0 / 1.044 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00159/1.008, allocations: 396 kB / 1.044 GB, free: 15.31 MB / 0.8106 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.000254/1.008, allocations: 139.1 kB / 1.044 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003813/1.012, allocations: 2.485 MB / 1.047 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.012, allocations: 0 / 1.047 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/1.014, allocations: 1.629 MB / 1.048 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/1.017, allocations: 331.3 kB / 1.049 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005235/1.022, allocations: 3.248 MB / 1.052 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.023, allocations: 1.331 MB / 1.053 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001189/1.024, allocations: 363.3 kB / 1.053 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/1.024, allocations: 95.42 kB / 1.053 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of SimCode: time 1.483e-06/1.024, allocations: 0 / 1.053 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of Templates: time 0.02953/1.054, allocations: 15.72 MB / 1.069 GB, free: 5.789 MB / 0.8262 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/jenkins/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