Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 208.9 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.316/3.316, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 64.62 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004857/0.369, allocations: 2.639 MB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002799/0.3718, allocations: 1.457 MB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.3719, allocations: 7.938 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009056/0.3728, allocations: 235.8 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005596/0.3734, allocations: 183.2 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.3739, allocations: 161.7 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.3743, allocations: 235.3 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003307/0.3746, allocations: 126.6 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.3749, allocations: 119.6 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.3752, allocations: 123.5 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.3752, allocations: 16 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.3756, allocations: 207.5 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3757, allocations: 79.78 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3758, allocations: 67.67 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005447/0.3764, allocations: 330.8 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3764, allocations: 4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3764, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.3764, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 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.0009166/0.3773, allocations: 437.5 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3773, allocations: 8.031 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006426/0.378, allocations: 76.75 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.3783, allocations: 178.2 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3784, allocations: 20.69 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.3784, allocations: 12.38 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005878/0.379, allocations: 361.8 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.379, allocations: 0 / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.379, allocations: 8 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.3791, allocations: 20.27 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004202/0.3795, allocations: 252.6 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.3812, allocations: 1.252 MB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.3818, allocations: 244.9 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.382, allocations: 81.67 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.3821, allocations: 16.17 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.3821, allocations: 38.56 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.3821, allocations: 3.938 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0007255/0.3828, allocations: 305.1 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.3829, allocations: 89.03 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.3831, allocations: 165.5 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.3831, allocations: 29.7 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3832, allocations: 156.2 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.3833, allocations: 51.47 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.3834, allocations: 53.88 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3835, allocations: 326.8 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.3837, allocations: 88.81 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.3839, allocations: 153.4 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.3842, allocations: 253.2 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3843, allocations: 0 / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004662/0.3847, allocations: 293.1 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3847, allocations: 11.94 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3847, allocations: 0 / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3848, allocations: 4.312 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.385, allocations: 59.94 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.3851, allocations: 7.938 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.3852, allocations: 31.91 kB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.3853, allocations: 8 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002235/0.3855, allocations: 186 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001832/0.3857, allocations: 149.3 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003149/0.386, allocations: 237.3 kB / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.386, allocations: 0 / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004186/0.3864, allocations: 265.6 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.3864, allocations: 4 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3864, allocations: 4 kB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.6e-06/0.3864, allocations: 4 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.3867, allocations: 59.89 kB / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3867, allocations: 7.984 kB / 1.339 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.3868, allocations: 23.81 kB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.3868, allocations: 12 kB / 1.339 GB, free: 4.652 MB / 1.029 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.0001371/0.387, allocations: 192.7 kB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.387, allocations: 7.953 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.3874, allocations: 211 kB / 1.339 GB, free: 4.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3874, allocations: 0 / 1.339 GB, free: 4.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3874, allocations: 3.938 kB / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.3875, allocations: 27.88 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.3875, allocations: 4 kB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.3877, allocations: 19.95 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.3877, allocations: 7.984 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004001/0.3881, allocations: 348 kB / 1.339 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004115/0.3886, allocations: 429.9 kB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001024/0.3887, allocations: 63.94 kB / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001186/0.3888, allocations: 129.4 kB / 1.34 GB, free: 3.195 MB / 1.029 GB Notification: Performance of Backend: time 2.41e-07/0.3888, allocations: 0 / 1.34 GB, free: 3.195 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.3898, allocations: 424.9 kB / 1.34 GB, free: 2.777 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009608/0.3908, allocations: 0.7894 MB / 1.341 GB, free: 1.941 MB / 1.029 GB Notification: Performance of Templates: time 0.00917/0.4, allocations: 4.215 MB / 1.345 GB, free: 13.77 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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 [Calling sys.exit(0), Time elapsed: 9.1574505460012]