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.001192/0.001192, allocations: 113.2 kB / 16.42 MB, free: 6.469 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.001237/0.001237, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.639/2.639, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 72.09 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.032, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004131/1.036, allocations: 2.623 MB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002716/1.039, allocations: 1.492 MB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/1.039, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009018/1.04, allocations: 228.6 kB / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005363/1.041, allocations: 195.2 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/1.041, allocations: 139.7 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003126/1.041, allocations: 231.3 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/1.042, allocations: 170.4 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/1.042, allocations: 111.6 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/1.042, allocations: 111.6 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/1.042, allocations: 12 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/1.043, allocations: 219.6 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.89e-05/1.043, allocations: 79.8 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/1.043, allocations: 87.48 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004854/1.043, allocations: 323.4 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/1.043, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.333e-06/1.043, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.959e-06/1.043, allocations: 0 / 1.173 GB, free: 13.88 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.0007948/1.044, allocations: 0.4948 MB / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.044, allocations: 16.86 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005987/1.045, allocations: 76.7 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/1.045, allocations: 236.1 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/1.045, allocations: 12.7 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/1.045, allocations: 12.38 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/1.046, allocations: 320.4 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/1.046, allocations: 8 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/1.046, allocations: 4 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/1.046, allocations: 24.27 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/1.046, allocations: 256.6 kB / 1.175 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/1.048, allocations: 1.626 MB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/1.049, allocations: 411.2 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/1.049, allocations: 93.61 kB / 1.177 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/1.049, allocations: 89.09 kB / 1.177 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/1.049, allocations: 30.56 kB / 1.177 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/1.049, allocations: 4 kB / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0007181/1.05, allocations: 320.9 kB / 1.177 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/1.05, allocations: 77.11 kB / 1.177 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/1.05, allocations: 171.5 kB / 1.177 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/1.05, allocations: 25.7 kB / 1.177 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/1.05, allocations: 156.1 kB / 1.177 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/1.05, allocations: 55.52 kB / 1.177 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/1.05, allocations: 49.7 kB / 1.178 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.05, allocations: 322.8 kB / 1.178 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/1.051, allocations: 84.98 kB / 1.178 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/1.051, allocations: 161.3 kB / 1.178 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/1.051, allocations: 251.8 kB / 1.178 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.051, allocations: 4 kB / 1.178 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004244/1.052, allocations: 273.2 kB / 1.179 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.052, allocations: 4 kB / 1.179 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/1.052, allocations: 4 kB / 1.179 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/1.052, allocations: 7.938 kB / 1.179 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/1.052, allocations: 55.91 kB / 1.179 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.052, allocations: 8.297 kB / 1.179 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/1.052, allocations: 15.98 kB / 1.179 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/1.052, allocations: 12 kB / 1.179 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002099/1.052, allocations: 178.3 kB / 1.179 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001567/1.052, allocations: 142.2 kB / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002937/1.053, allocations: 234.7 kB / 1.179 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/1.053, allocations: 0 / 1.179 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003825/1.053, allocations: 254.7 kB / 1.179 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/1.053, allocations: 8 kB / 1.179 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/1.053, allocations: 4 kB / 1.179 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-06/1.053, allocations: 4 kB / 1.179 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/1.053, allocations: 47.91 kB / 1.18 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/1.053, allocations: 15.86 kB / 1.18 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/1.054, allocations: 12 kB / 1.18 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/1.054, allocations: 11.98 kB / 1.18 GB, free: 6.715 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.0001551/1.054, allocations: 200.3 kB / 1.18 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/1.054, allocations: 11.91 kB / 1.18 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/1.054, allocations: 199.8 kB / 1.18 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.054, allocations: 3.938 kB / 1.18 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.054, allocations: 7.938 kB / 1.18 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/1.054, allocations: 101 kB / 1.18 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/1.054, allocations: 4 kB / 1.18 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/1.054, allocations: 27.95 kB / 1.18 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/1.055, allocations: 4 kB / 1.18 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003754/1.055, allocations: 340 kB / 1.18 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003789/1.055, allocations: 431.2 kB / 1.181 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001018/1.055, allocations: 71.94 kB / 1.181 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001169/1.056, allocations: 135.2 kB / 1.181 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of Backend: time 5.01e-07/1.056, allocations: 0 / 1.181 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001029/1.057, allocations: 438.3 kB / 1.181 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008779/1.057, allocations: 0.7761 MB / 1.182 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of Templates: time 0.007283/1.065, allocations: 3.716 MB / 1.186 GB, free: 192 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