Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.738/2.738, allocations: 476.7 MB / 0.7634 GB, free: 15.21 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.91 kB / 1.108 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 168.7 MB / 1.272 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004109/1.028, allocations: 2.673 MB / 1.275 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002143/1.03, allocations: 1.496 MB / 1.276 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.779e-05/1.03, allocations: 3.75 kB / 1.276 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008002/1.031, allocations: 232.8 kB / 1.277 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004303/1.032, allocations: 188.1 kB / 1.277 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/1.032, allocations: 158.5 kB / 1.277 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002891/1.032, allocations: 226.7 kB / 1.277 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/1.033, allocations: 134.7 kB / 1.277 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/1.033, allocations: 102.1 kB / 1.277 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/1.033, allocations: 123.5 kB / 1.278 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/1.033, allocations: 14 kB / 1.278 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/1.033, allocations: 231.4 kB / 1.278 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.297e-05/1.034, allocations: 79.77 kB / 1.278 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.496e-05/1.034, allocations: 85.39 kB / 1.278 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004482/1.034, allocations: 329.4 kB / 1.278 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.034, allocations: 0.8125 kB / 1.278 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.034, allocations: 3.938 kB / 1.278 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.152e-06/1.034, allocations: 0 / 1.278 GB, free: 4.328 MB / 0.9981 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.0006652/1.035, allocations: 495.4 kB / 1.279 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.035, allocations: 8.875 kB / 1.279 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005907/1.035, allocations: 81.69 kB / 1.279 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/1.036, allocations: 236.4 kB / 1.279 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/1.036, allocations: 15.45 kB / 1.279 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/1.036, allocations: 14.22 kB / 1.279 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/1.036, allocations: 323.4 kB / 1.279 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/1.036, allocations: 4.562 kB / 1.279 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/1.036, allocations: 6.719 kB / 1.279 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.43e-05/1.036, allocations: 23.78 kB / 1.279 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/1.037, allocations: 247.8 kB / 1.28 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/1.038, allocations: 1.631 MB / 1.281 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/1.039, allocations: 409.9 kB / 1.282 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/1.039, allocations: 81.67 kB / 1.282 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/1.039, allocations: 90 kB / 1.282 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/1.039, allocations: 37.16 kB / 1.282 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/1.039, allocations: 0 / 1.282 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.000694/1.04, allocations: 308.7 kB / 1.282 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/1.04, allocations: 82.75 kB / 1.282 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/1.04, allocations: 169.2 kB / 1.282 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/1.04, allocations: 33.89 kB / 1.282 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/1.04, allocations: 155.4 kB / 1.283 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/1.04, allocations: 57.55 kB / 1.283 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/1.04, allocations: 43.84 kB / 1.283 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.122e-05/1.04, allocations: 326.2 kB / 1.283 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/1.04, allocations: 82.98 kB / 1.283 GB, free: 468 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/1.04, allocations: 159.1 kB / 1.283 GB, free: 340 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/1.041, allocations: 246.6 kB / 1.283 GB, free: 172 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.041, allocations: 0 / 1.283 GB, free: 172 kB / 0.9981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003677/1.041, allocations: 273.7 kB / 1.284 GB, free: 48 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.041, allocations: 5.781 kB / 1.284 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.041, allocations: 9.891 kB / 1.284 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.041, allocations: 7 kB / 1.284 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/1.041, allocations: 57.22 kB / 1.284 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/1.041, allocations: 3.156 kB / 1.284 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/1.041, allocations: 23.28 kB / 1.284 GB, free: 24 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/1.042, allocations: 16.25 kB / 1.284 GB, free: 16 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002129/1.042, allocations: 175.5 kB / 1.284 GB, free: 15.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001801/1.042, allocations: 144.8 kB / 1.284 GB, free: 15.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002911/1.042, allocations: 234.5 kB / 1.284 GB, free: 15.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-06/1.042, allocations: 0 / 1.284 GB, free: 15.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003889/1.043, allocations: 249 kB / 1.285 GB, free: 15.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/1.043, allocations: 9.188 kB / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.043, allocations: 3.609 kB / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/1.043, allocations: 3.25 kB / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/1.043, allocations: 58.95 kB / 1.285 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/1.043, allocations: 6.406 kB / 1.285 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/1.043, allocations: 12.14 kB / 1.285 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/1.043, allocations: 14.19 kB / 1.285 GB, free: 15.48 MB / 1.014 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.0001443/1.043, allocations: 194.8 kB / 1.285 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/1.043, allocations: 14.91 kB / 1.285 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/1.044, allocations: 206.6 kB / 1.285 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/1.044, allocations: 1.875 kB / 1.285 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/1.044, allocations: 2.938 kB / 1.285 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.044, allocations: 0.5625 kB / 1.285 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/1.045, allocations: 0.98 MB / 1.286 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.045, allocations: 2.422 kB / 1.286 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/1.045, allocations: 31.17 kB / 1.286 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.045, allocations: 3.094 kB / 1.286 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/1.045, allocations: 10.61 kB / 1.286 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.045, allocations: 5.469 kB / 1.286 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.045, allocations: 7.656 kB / 1.286 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004445/1.046, allocations: 435.5 kB / 1.287 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/1.046, allocations: 108.9 kB / 1.287 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/1.046, allocations: 12.69 kB / 1.287 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/1.046, allocations: 15.81 kB / 1.287 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/1.046, allocations: 27.34 kB / 1.287 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/1.046, allocations: 6.375 kB / 1.287 GB, free: 13.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001413/1.046, allocations: 143 kB / 1.287 GB, free: 13.83 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.046, allocations: 0 / 1.287 GB, free: 13.83 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000525/1.047, allocations: 70 kB / 1.287 GB, free: 13.82 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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.0001637/1.047, allocations: 114 kB / 1.287 GB, free: 13.72 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005148/1.047, allocations: 288.1 kB / 1.287 GB, free: 13.63 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.047, allocations: 0 / 1.287 GB, free: 13.63 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/1.047, allocations: 84.86 kB / 1.287 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/1.048, allocations: 34.22 kB / 1.287 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009259/1.049, allocations: 0.5065 MB / 1.288 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/1.049, allocations: 0.7418 MB / 1.289 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/1.049, allocations: 20.06 kB / 1.289 GB, free: 12.51 MB / 1.014 GB Notification: Performance of SimCode: time 4.6e-07/1.049, allocations: 4 kB / 1.289 GB, free: 12.51 MB / 1.014 GB Notification: Performance of Templates: time 0.004955/1.054, allocations: 2.374 MB / 1.291 GB, free: 12.3 MB / 1.014 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches