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.001506/0.001506, allocations: 114.4 kB / 16.42 MB, free: 6.441 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.001851/0.001851, allocations: 189.6 kB / 17.35 MB, free: 5.727 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.17 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.198/2.198, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 67.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8517/0.8531, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00347/0.8566, allocations: 2.627 MB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002007/0.8586, allocations: 1.483 MB / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.398e-05/0.8587, allocations: 6.938 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007222/0.8595, allocations: 225.6 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.8599, allocations: 189.6 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.8602, allocations: 153.1 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.8605, allocations: 223.3 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.8608, allocations: 174.3 kB / 1.094 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.861, allocations: 96.66 kB / 1.094 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.8612, allocations: 122 kB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.8613, allocations: 13.41 kB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003676/0.8617, allocations: 223.6 kB / 1.094 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.8618, allocations: 83.56 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.8619, allocations: 90.56 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.8623, allocations: 324.5 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8624, allocations: 0 / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8624, allocations: 0 / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.8624, allocations: 0.6875 kB / 1.094 GB, free: 1.898 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.0006422/0.863, allocations: 489.6 kB / 1.095 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.8631, allocations: 10.02 kB / 1.095 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006084/0.8637, allocations: 76.39 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.8639, allocations: 241.5 kB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.864, allocations: 11.3 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.864, allocations: 19.25 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.8645, allocations: 322.8 kB / 1.096 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.8645, allocations: 1.219 kB / 1.096 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.8646, allocations: 6.625 kB / 1.096 GB, free: 1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.8646, allocations: 22.56 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.865, allocations: 252.9 kB / 1.096 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.8665, allocations: 1.626 MB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.8672, allocations: 412 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.8674, allocations: 87.48 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.8675, allocations: 86.11 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.8676, allocations: 40.22 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.8676, allocations: 3.938 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0006821/0.8682, allocations: 305.1 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.8683, allocations: 78.77 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.8685, allocations: 174.6 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.8685, allocations: 26.83 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.8686, allocations: 149.2 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.8686, allocations: 58.86 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.8687, allocations: 48.64 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.8688, allocations: 325.9 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.8689, allocations: 85.44 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.8691, allocations: 160.2 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.8694, allocations: 248.6 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8695, allocations: 0.9375 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004238/0.8699, allocations: 273.2 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.8699, allocations: 6.5 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8699, allocations: 2.344 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.8699, allocations: 8.922 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.8702, allocations: 57.62 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.8702, allocations: 4.172 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.8704, allocations: 19.98 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.8704, allocations: 9.234 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001838/0.8706, allocations: 175.8 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001566/0.8707, allocations: 151.5 kB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002731/0.871, allocations: 231.9 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.871, allocations: 1.125 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003786/0.8714, allocations: 251.5 kB / 1.101 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.8714, allocations: 6.219 kB / 1.101 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.8714, allocations: 2.844 kB / 1.101 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.062e-06/0.8715, allocations: 4.922 kB / 1.101 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.8717, allocations: 54.39 kB / 1.101 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.8717, allocations: 12.77 kB / 1.101 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.8718, allocations: 12.88 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.8718, allocations: 9.094 kB / 1.101 GB, free: 13.06 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.0001037/0.8719, allocations: 200.9 kB / 1.101 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.872, allocations: 18.16 kB / 1.101 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.8724, allocations: 203.2 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.8724, allocations: 4.594 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8724, allocations: 1.062 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.8725, allocations: 103.6 kB / 1.101 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.8726, allocations: 2.828 kB / 1.101 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.8728, allocations: 20.61 kB / 1.101 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.8728, allocations: 8.172 kB / 1.101 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003924/0.8732, allocations: 338.7 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003605/0.8736, allocations: 431 kB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001165/0.8737, allocations: 72.39 kB / 1.102 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001198/0.8738, allocations: 141.8 kB / 1.102 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of Backend: time 5.11e-07/0.8738, allocations: 0 / 1.102 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.875, allocations: 427 kB / 1.103 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0008508/0.8758, allocations: 0.7814 MB / 1.103 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of Templates: time 0.008133/0.884, allocations: 3.707 MB / 1.107 GB, free: 10.79 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/jenkins1/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