Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_9_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_9_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.0075/0.007499, allocations: 104.1 kB / 15.73 MB, free: 5.578 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.001254/0.001254, allocations: 190 kB / 16.67 MB, free: 5.516 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.552/1.552, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.425/2.425, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.89 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.128, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004493/1.132, allocations: 2.618 MB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002516/1.135, allocations: 1.489 MB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/1.135, allocations: 7.094 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008816/1.136, allocations: 229 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005617/1.137, allocations: 185.5 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/1.137, allocations: 148.7 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000331/1.137, allocations: 232.1 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/1.138, allocations: 170 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/1.138, allocations: 103.5 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/1.138, allocations: 118.5 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/1.138, allocations: 14.31 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/1.139, allocations: 214.7 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/1.139, allocations: 80.38 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/1.139, allocations: 82.48 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005545/1.14, allocations: 335.3 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.14, allocations: 0.8438 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/1.14, allocations: 0 / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.14, allocations: 0.75 kB / 1.094 GB, free: 1.918 MB / 0.8575 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.0007278/1.14, allocations: 486.6 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.14, allocations: 9.062 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006243/1.141, allocations: 85.14 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/1.141, allocations: 233.3 kB / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/1.141, allocations: 19.34 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/1.141, allocations: 18.8 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/1.142, allocations: 319.4 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/1.142, allocations: 8.906 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/1.142, allocations: 6.469 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/1.142, allocations: 23.31 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/1.143, allocations: 252.6 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/1.144, allocations: 1.619 MB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/1.145, allocations: 414.2 kB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/1.145, allocations: 83.91 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/1.145, allocations: 90.03 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/1.145, allocations: 37.14 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/1.145, allocations: 4.219 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0007592/1.146, allocations: 311.8 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/1.146, allocations: 83.62 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/1.146, allocations: 170.8 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/1.146, allocations: 25.7 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/1.146, allocations: 149.7 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/1.146, allocations: 54.39 kB / 1.098 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/1.146, allocations: 44.52 kB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.147, allocations: 331 kB / 1.098 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/1.147, allocations: 81.77 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/1.147, allocations: 153.2 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/1.147, allocations: 257.1 kB / 1.099 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.147, allocations: 1.125 kB / 1.099 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004618/1.148, allocations: 268.9 kB / 1.099 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.148, allocations: 10 kB / 1.099 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.148, allocations: 7 kB / 1.099 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/1.148, allocations: 8.406 kB / 1.099 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/1.148, allocations: 53.95 kB / 1.099 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.148, allocations: 3.734 kB / 1.099 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/1.148, allocations: 16.66 kB / 1.099 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/1.148, allocations: 13.55 kB / 1.099 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000278/1.149, allocations: 176.3 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001726/1.149, allocations: 143.3 kB / 1.1 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000296/1.149, allocations: 231.7 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/1.149, allocations: 1.094 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003867/1.15, allocations: 255.6 kB / 1.1 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/1.15, allocations: 10.28 kB / 1.1 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/1.15, allocations: 3.375 kB / 1.1 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/1.15, allocations: 4.594 kB / 1.1 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/1.15, allocations: 52.91 kB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.15, allocations: 5.703 kB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/1.15, allocations: 17.27 kB / 1.1 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/1.15, allocations: 9.984 kB / 1.1 GB, free: 13.08 MB / 0.8731 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.0001139/1.15, allocations: 198.6 kB / 1.1 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/1.15, allocations: 15.52 kB / 1.1 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/1.151, allocations: 205 kB / 1.101 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.151, allocations: 7.297 kB / 1.101 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.151, allocations: 0 / 1.101 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.151, allocations: 6.391 kB / 1.101 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/1.152, allocations: 0.962 MB / 1.102 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.152, allocations: 4.203 kB / 1.102 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/1.152, allocations: 35.22 kB / 1.102 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/1.152, allocations: 4.812 kB / 1.102 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/1.152, allocations: 9.062 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/1.152, allocations: 8.688 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.152, allocations: 11.56 kB / 1.102 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/1.153, allocations: 429.1 kB / 1.102 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.872e-05/1.153, allocations: 111.8 kB / 1.102 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/1.153, allocations: 9.656 kB / 1.102 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/1.153, allocations: 15.92 kB / 1.102 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/1.153, allocations: 23.3 kB / 1.102 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/1.153, allocations: 6.531 kB / 1.102 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001447/1.153, allocations: 146 kB / 1.102 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.153, allocations: 0 / 1.102 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005532/1.154, allocations: 79.09 kB / 1.102 GB, free: 11.42 MB / 0.8731 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.0001661/1.154, allocations: 106.1 kB / 1.102 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005775/1.155, allocations: 314.2 kB / 1.103 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.155, allocations: 4.938 kB / 1.103 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/1.155, allocations: 82.34 kB / 1.103 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/1.155, allocations: 36.94 kB / 1.103 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.156, allocations: 468.2 kB / 1.103 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/1.157, allocations: 0.7495 MB / 1.104 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002372/1.157, allocations: 74.64 kB / 1.104 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/1.157, allocations: 18.64 kB / 1.104 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.157, allocations: 0 / 1.104 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of Templates: time 0.007854/1.165, allocations: 1.833 MB / 1.106 GB, free: 10 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches