Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 108.3 kB / 16.41 MB, free: 6.52 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.001175/0.001175, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.448/2.448, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001644, allocations: 59.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004484/1.022, allocations: 2.619 MB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002486/1.025, allocations: 1.492 MB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/1.025, allocations: 3.938 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008638/1.026, allocations: 223.1 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004939/1.026, allocations: 187.2 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/1.027, allocations: 155.5 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002885/1.027, allocations: 223.3 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/1.027, allocations: 170.5 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/1.027, allocations: 103.6 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/1.028, allocations: 115.6 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/1.028, allocations: 12 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003568/1.028, allocations: 219.6 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.292e-05/1.028, allocations: 79.8 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/1.028, allocations: 87.53 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004171/1.029, allocations: 320.8 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.029, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.223e-06/1.029, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.029, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007792/1.03, allocations: 0.4913 MB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.03, allocations: 12.62 kB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005834/1.03, allocations: 72.66 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/1.031, allocations: 241.5 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/1.031, allocations: 16.69 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/1.031, allocations: 12.38 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/1.031, allocations: 328.4 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/1.031, allocations: 0 / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/1.031, allocations: 7.984 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/1.031, allocations: 24.25 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/1.032, allocations: 248.6 kB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/1.033, allocations: 1.638 MB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/1.034, allocations: 403.2 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/1.034, allocations: 93.66 kB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/1.034, allocations: 89.09 kB / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/1.034, allocations: 34.5 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/1.034, allocations: 4 kB / 1.177 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0006789/1.035, allocations: 304.7 kB / 1.177 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/1.035, allocations: 81.09 kB / 1.177 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/1.035, allocations: 163.5 kB / 1.177 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/1.035, allocations: 33.89 kB / 1.177 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/1.035, allocations: 159.7 kB / 1.177 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/1.035, allocations: 43.3 kB / 1.177 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/1.035, allocations: 53.69 kB / 1.178 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.036, allocations: 322.8 kB / 1.178 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/1.036, allocations: 84.81 kB / 1.178 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/1.036, allocations: 168.1 kB / 1.178 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/1.036, allocations: 242.1 kB / 1.178 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.036, allocations: 0 / 1.178 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004026/1.037, allocations: 277.2 kB / 1.179 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.037, allocations: 4 kB / 1.179 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.037, allocations: 4 kB / 1.179 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.037, allocations: 7.938 kB / 1.179 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/1.037, allocations: 59.89 kB / 1.179 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.037, allocations: 4 kB / 1.179 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/1.037, allocations: 16.3 kB / 1.179 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/1.037, allocations: 12 kB / 1.179 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001922/1.037, allocations: 176.1 kB / 1.179 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001433/1.038, allocations: 138.2 kB / 1.179 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002601/1.038, allocations: 239.2 kB / 1.179 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/1.038, allocations: 0 / 1.179 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003572/1.038, allocations: 250.8 kB / 1.179 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/1.038, allocations: 12.03 kB / 1.179 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.038, allocations: 4 kB / 1.179 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.658e-06/1.038, allocations: 4 kB / 1.179 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/1.038, allocations: 51.91 kB / 1.18 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.038, allocations: 7.938 kB / 1.18 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/1.039, allocations: 11.98 kB / 1.18 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/1.039, allocations: 12 kB / 1.18 GB, free: 6.684 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * 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.0001165/1.039, allocations: 192.1 kB / 1.18 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/1.039, allocations: 11.81 kB / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003566/1.039, allocations: 203.8 kB / 1.18 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.039, allocations: 3.938 kB / 1.18 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.039, allocations: 3.984 kB / 1.18 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/1.039, allocations: 108.9 kB / 1.18 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/1.039, allocations: 3.938 kB / 1.18 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/1.039, allocations: 19.97 kB / 1.18 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/1.039, allocations: 11.98 kB / 1.18 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003533/1.04, allocations: 340.7 kB / 1.18 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003545/1.04, allocations: 434.8 kB / 1.181 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001014/1.04, allocations: 75.94 kB / 1.181 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001158/1.04, allocations: 135.2 kB / 1.181 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of Backend: time 6.11e-07/1.04, allocations: 0 / 1.181 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001049/1.041, allocations: 438.8 kB / 1.181 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008411/1.042, allocations: 0.7783 MB / 1.182 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of Templates: time 0.007177/1.05, allocations: 3.714 MB / 1.186 GB, free: 152 kB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches