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.001833/0.001833, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.494/2.494, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.88 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8982/0.8997, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.011/0.9108, allocations: 11.1 MB / 0.9604 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.9211, allocations: 5.792 MB / 0.9661 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.9227, allocations: 57.75 kB / 0.9661 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004193/0.927, allocations: 1.721 MB / 0.9678 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.9306, allocations: 1.143 MB / 0.9689 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.9329, allocations: 0.814 MB / 0.9697 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003271/0.9362, allocations: 2.124 MB / 0.9718 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.9379, allocations: 1.314 MB / 0.9731 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.9396, allocations: 0.8371 MB / 0.9739 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.941, allocations: 0.9106 MB / 0.9748 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.9412, allocations: 114.7 kB / 0.9749 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.9438, allocations: 1.173 MB / 0.976 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006139/0.9444, allocations: 0.5308 MB / 0.9766 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009026/0.9453, allocations: 0.7849 MB / 0.9773 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003891/0.9492, allocations: 2.391 MB / 0.9797 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.9492, allocations: 0 / 0.9797 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.296e-06/0.9492, allocations: 4 kB / 0.9797 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.149e-05/0.9493, allocations: 0 / 0.9797 GB, free: 2.98 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.003328/0.9526, allocations: 1.864 MB / 0.9815 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.9527, allocations: 12.02 kB / 0.9815 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004357/0.957, allocations: 0.6737 MB / 0.9822 GB, free: 380 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.9585, allocations: 0.9107 MB / 0.983 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.802e-05/0.9586, allocations: 94.89 kB / 0.9831 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.9588, allocations: 124.3 kB / 0.9833 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/0.9618, allocations: 2.206 MB / 0.9854 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/0.9619, allocations: 15.78 kB / 0.9854 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.962, allocations: 63.97 kB / 0.9855 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002028/0.9622, allocations: 166.3 kB / 0.9856 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/0.965, allocations: 1.867 MB / 0.9875 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.9765, allocations: 12.48 MB / 0.9997 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004067/0.9806, allocations: 1.952 MB / 1.002 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008299/0.9815, allocations: 0.6128 MB / 1.002 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.9817, allocations: 102.1 kB / 1.002 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.9817, allocations: 47.56 kB / 1.002 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 3.176e-06/0.9817, allocations: 0 / 1.002 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.005914/0.9876, allocations: 3.706 MB / 1.006 GB, free: 6.598 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.9877, allocations: 60.41 kB / 1.006 GB, free: 6.527 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.9888, allocations: 0.9204 MB / 1.007 GB, free: 5.59 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.346e-05/0.9888, allocations: 45.7 kB / 1.007 GB, free: 5.539 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.9893, allocations: 0.7275 MB / 1.008 GB, free: 4.801 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.9896, allocations: 386.5 kB / 1.008 GB, free: 4.418 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003856/0.99, allocations: 287.2 kB / 1.008 GB, free: 4.129 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.9901, allocations: 309.1 kB / 1.009 GB, free: 3.824 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008684/0.991, allocations: 0.609 MB / 1.009 GB, free: 3.215 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.9922, allocations: 1.109 MB / 1.01 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.9944, allocations: 1.832 MB / 1.012 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.9944, allocations: 4 kB / 1.012 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003192/0.9976, allocations: 2.108 MB / 1.014 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.9976, allocations: 12 kB / 1.014 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.9976, allocations: 16 kB / 1.014 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007922/0.9984, allocations: 262.7 kB / 1.014 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.9996, allocations: 371.4 kB / 1.015 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008566/1.008, allocations: 11.58 MB / 1.026 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.01, allocations: 131.8 kB / 1.026 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.01, allocations: 71.94 kB / 1.026 GB, free: 116 kB / 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 (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.0006795/1.01, allocations: 407.9 kB / 1.027 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/1.011, allocations: 134.4 kB / 1.027 GB, free: 15.57 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/1.013, allocations: 1.673 MB / 1.028 GB, free: 13.87 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/1.013, allocations: 12 kB / 1.028 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.013, allocations: 7.984 kB / 1.028 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/1.013, allocations: 11.97 kB / 1.028 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004939/1.018, allocations: 3.287 MB / 1.032 GB, free: 10.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/1.018, allocations: 12 kB / 1.032 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008597/1.019, allocations: 219.6 kB / 1.032 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007231/1.02, allocations: 243.4 kB / 1.032 GB, free: 9.914 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.736e-05/1.02, allocations: 31.94 kB / 1.032 GB, free: 9.883 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009403/1.029, allocations: 11.57 MB / 1.043 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.029, allocations: 7.938 kB / 1.043 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/1.033, allocations: 1.796 MB / 1.045 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/1.033, allocations: 311.3 kB / 1.045 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/1.034, allocations: 31.98 kB / 1.046 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008575/1.035, allocations: 87.88 kB / 1.046 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/1.035, allocations: 104.6 kB / 1.046 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-05/1.035, allocations: 32 kB / 1.046 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009989/1.036, allocations: 0.6177 MB / 1.046 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.61e-07/1.036, allocations: 0 / 1.046 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002481/1.038, allocations: 392 kB / 1.047 GB, free: 9.703 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 (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.0004121/1.039, allocations: 150.4 kB / 1.047 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0058/1.045, allocations: 2.879 MB / 1.05 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.676e-05/1.045, allocations: 0 / 1.05 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003026/1.048, allocations: 1.63 MB / 1.051 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/1.051, allocations: 356.9 kB / 1.052 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005896/1.056, allocations: 2.776 MB / 1.054 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/1.058, allocations: 1.331 MB / 1.056 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001285/1.059, allocations: 355.3 kB / 1.056 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/1.059, allocations: 99.36 kB / 1.056 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of SimCode: time 1.493e-06/1.059, allocations: 4 kB / 1.056 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.03435/1.094, allocations: 17.07 MB / 1.073 GB, free: 14.89 MB / 0.8419 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