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.01036/0.01036, allocations: 101.6 kB / 15.73 MB, free: 6.43 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.001773/0.001773, allocations: 191.8 kB / 16.67 MB, free: 6.336 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.841/2.841, allocations: 437 MB / 0.7105 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001219, allocations: 63.91 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3573, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.005594/0.3629, allocations: 2.609 MB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.3663, allocations: 1.492 MB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.3665, allocations: 4 kB / 1.171 GB, free: 2.695 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.3677, allocations: 223.1 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006991/0.3684, allocations: 187.2 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.369, allocations: 155.6 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004993/0.3695, allocations: 231.3 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000448/0.37, allocations: 174.4 kB / 1.172 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.3702, allocations: 91.73 kB / 1.172 GB, free: 1.648 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.3706, allocations: 115.6 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.3707, allocations: 16 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/0.3712, allocations: 227.4 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.3714, allocations: 75.8 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3715, allocations: 87.53 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006281/0.3721, allocations: 326.8 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3721, allocations: 0 / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3721, allocations: 0 / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.687e-05/0.3722, allocations: 0 / 1.172 GB, free: 0.8164 MB / 0.92 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.001235/0.3734, allocations: 0.4909 MB / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.3735, allocations: 12.03 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000711/0.3742, allocations: 80.7 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.3746, allocations: 236.1 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/0.3747, allocations: 16.69 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/0.3748, allocations: 12.38 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/0.3754, allocations: 324.4 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.3754, allocations: 7.938 kB / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.3755, allocations: 4 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-05/0.3755, allocations: 20.27 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.376, allocations: 252.6 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.378, allocations: 1.626 MB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/0.3787, allocations: 419.1 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.3789, allocations: 89.66 kB / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.3791, allocations: 89.11 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3791, allocations: 34.56 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.344e-06/0.3792, allocations: 0 / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0009133/0.3801, allocations: 324.8 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.3802, allocations: 81.05 kB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.3804, allocations: 172.7 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.3804, allocations: 29.92 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.3806, allocations: 160.3 kB / 1.177 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.3806, allocations: 47.53 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3808, allocations: 49.7 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.381, allocations: 322.8 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.3812, allocations: 84.8 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.3815, allocations: 159.3 kB / 1.177 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.382, allocations: 244.7 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.382, allocations: 0 / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000683/0.3827, allocations: 273.3 kB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3827, allocations: 4.188 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.3828, allocations: 4 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.3828, allocations: 11.88 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.3831, allocations: 55.91 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.3832, allocations: 11.92 kB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.3834, allocations: 15.92 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.3834, allocations: 12.31 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000278/0.3837, allocations: 180.1 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000227/0.384, allocations: 142.2 kB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003985/0.3844, allocations: 234.1 kB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/0.3844, allocations: 0 / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005558/0.385, allocations: 248.4 kB / 1.179 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.385, allocations: 8.344 kB / 1.179 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.385, allocations: 8 kB / 1.179 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.385, allocations: 7.938 kB / 1.179 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.3853, allocations: 51.84 kB / 1.179 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3853, allocations: 7.984 kB / 1.179 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.3855, allocations: 12 kB / 1.179 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.3855, allocations: 15.98 kB / 1.179 GB, free: 9.648 MB / 0.9356 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.0001618/0.3857, allocations: 188.2 kB / 1.179 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.3858, allocations: 11.91 kB / 1.179 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000528/0.3863, allocations: 207.7 kB / 1.179 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.3864, allocations: 8.031 kB / 1.179 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3864, allocations: 0 / 1.179 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3864, allocations: 0 / 1.179 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.3881, allocations: 0.9694 MB / 1.18 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.3881, allocations: 8.062 kB / 1.18 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.3883, allocations: 43.91 kB / 1.18 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.3884, allocations: 4 kB / 1.18 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.3884, allocations: 4 kB / 1.18 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.3884, allocations: 4 kB / 1.18 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.3884, allocations: 11.88 kB / 1.18 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.389, allocations: 436.9 kB / 1.181 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.3891, allocations: 105 kB / 1.181 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.3892, allocations: 15.92 kB / 1.181 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.3895, allocations: 11.98 kB / 1.181 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.3896, allocations: 23.86 kB / 1.181 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.3896, allocations: 12 kB / 1.181 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001822/0.3898, allocations: 132.8 kB / 1.181 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3898, allocations: 0 / 1.181 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008204/0.3906, allocations: 72 kB / 1.181 GB, free: 7.195 MB / 0.9356 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.0001982/0.3908, allocations: 115.2 kB / 1.181 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007373/0.3916, allocations: 307.8 kB / 1.181 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3916, allocations: 0 / 1.181 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.3918, allocations: 85.27 kB / 1.182 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007332/0.3925, allocations: 38.16 kB / 1.182 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.3937, allocations: 480.6 kB / 1.182 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.3941, allocations: 0.7441 MB / 1.183 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002781/0.3944, allocations: 77.47 kB / 1.183 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.3945, allocations: 19.42 kB / 1.183 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3945, allocations: 0 / 1.183 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of Templates: time 0.006878/0.4014, allocations: 1.842 MB / 1.185 GB, free: 3.434 MB / 0.9356 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/jenkins/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