Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.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.001689/0.001689, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001971/0.001971, allocations: 161.9 kB / 23.01 MB, free: 4.598 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.541/1.541, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.75/2.75, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.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.002108/0.002108, allocations: 64.08 kB / 0.9515 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.423, allocations: 169.9 MB / 1.117 GB, free: 2.586 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004851/0.4278, allocations: 2.513 MB / 1.12 GB, free: 60 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.4293, allocations: 0.7675 MB / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.956e-05/0.4294, allocations: 4 kB / 1.121 GB, free: 15.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.4309, allocations: 0.5402 MB / 1.121 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.4312, allocations: 115.5 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.4316, allocations: 103.8 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.4319, allocations: 199.4 kB / 1.122 GB, free: 14.33 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.4323, allocations: 138.2 kB / 1.122 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.4325, allocations: 79.77 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.4327, allocations: 103.6 kB / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.4328, allocations: 12 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.433, allocations: 103.8 kB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.097e-05/0.4331, allocations: 51.89 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.66e-05/0.4332, allocations: 59.73 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.4336, allocations: 230.9 kB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4336, allocations: 0 / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4336, allocations: 0 / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4336, allocations: 0 / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007937/0.4344, allocations: 381.9 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4344, allocations: 8.031 kB / 1.123 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/0.4348, allocations: 44.8 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.4351, allocations: 158.3 kB / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.4351, allocations: 12.66 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.4352, allocations: 12.38 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.4356, allocations: 264.9 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4356, allocations: 0 / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.4357, allocations: 12 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.4357, allocations: 16.28 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.436, allocations: 144.7 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.437, allocations: 0.7781 MB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.323e-05/0.4371, allocations: 38.56 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.4372, allocations: 16.94 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.4372, allocations: 7.875 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.4372, allocations: 38.56 kB / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4372, allocations: 4 kB / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002139/0.4374, allocations: 73.75 kB / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.4375, allocations: 55.34 kB / 1.124 GB, free: 11.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.4376, allocations: 151.8 kB / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.4377, allocations: 25.7 kB / 1.124 GB, free: 11.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.4378, allocations: 143.7 kB / 1.125 GB, free: 11.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.4378, allocations: 27.75 kB / 1.125 GB, free: 10.99 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.4379, allocations: 33.67 kB / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.4381, allocations: 318.8 kB / 1.125 GB, free: 10.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.4381, allocations: 32.78 kB / 1.125 GB, free: 10.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.4382, allocations: 93.44 kB / 1.125 GB, free: 10.47 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.4384, allocations: 121.3 kB / 1.125 GB, free: 10.32 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4384, allocations: 4 kB / 1.125 GB, free: 10.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002324/0.4387, allocations: 133.4 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4387, allocations: 4 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4387, allocations: 4 kB / 1.125 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4387, allocations: 4 kB / 1.125 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4388, allocations: 27.92 kB / 1.125 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.4389, allocations: 12.23 kB / 1.125 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.4389, allocations: 19.89 kB / 1.125 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.4389, allocations: 7.984 kB / 1.125 GB, free: 10.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001409/0.4391, allocations: 116.1 kB / 1.126 GB, free: 9.984 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001108/0.4392, allocations: 93.42 kB / 1.126 GB, free: 9.859 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001753/0.4394, allocations: 125.2 kB / 1.126 GB, free: 9.703 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.4394, allocations: 4 kB / 1.126 GB, free: 9.699 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.000206/0.4396, allocations: 125.4 kB / 1.126 GB, free: 9.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4396, allocations: 14.91 kB / 1.126 GB, free: 9.559 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-06/0.4396, allocations: 4.312 kB / 1.126 GB, free: 9.555 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-06/0.4396, allocations: 4 kB / 1.126 GB, free: 9.551 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.4397, allocations: 27.98 kB / 1.126 GB, free: 9.523 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4397, allocations: 4 kB / 1.126 GB, free: 9.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.028e-05/0.4398, allocations: 7.938 kB / 1.126 GB, free: 9.512 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.4398, allocations: 11.94 kB / 1.126 GB, free: 9.5 MB / 1.076 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 (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 prepare postOptimizeDAE: time 0.0001391/0.4399, allocations: 188.2 kB / 1.126 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.4399, allocations: 3.953 kB / 1.126 GB, free: 9.305 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.44, allocations: 16.33 kB / 1.126 GB, free: 9.285 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.44, allocations: 3.938 kB / 1.126 GB, free: 9.281 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.44, allocations: 7.938 kB / 1.126 GB, free: 9.273 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.44, allocations: 0 / 1.126 GB, free: 9.273 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.4405, allocations: 408.8 kB / 1.127 GB, free: 8.824 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4405, allocations: 3.938 kB / 1.127 GB, free: 8.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.838e-05/0.4405, allocations: 11.92 kB / 1.127 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4405, allocations: 4 kB / 1.127 GB, free: 8.805 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4406, allocations: 0 / 1.127 GB, free: 8.805 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.4406, allocations: 4 kB / 1.127 GB, free: 8.801 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4406, allocations: 0 / 1.127 GB, free: 8.801 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.4407, allocations: 111.7 kB / 1.127 GB, free: 8.664 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.4407, allocations: 15.88 kB / 1.127 GB, free: 8.648 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.4408, allocations: 8 kB / 1.127 GB, free: 8.641 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.047e-05/0.4408, allocations: 0 / 1.127 GB, free: 8.641 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.4408, allocations: 4.188 kB / 1.127 GB, free: 8.637 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.4408, allocations: 0 / 1.127 GB, free: 8.637 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.998e-05/0.4409, allocations: 109.7 kB / 1.127 GB, free: 8.531 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4409, allocations: 0 / 1.127 GB, free: 8.531 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003467/0.4413, allocations: 59.78 kB / 1.127 GB, free: 8.473 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001272/0.4414, allocations: 107.2 kB / 1.127 GB, free: 8.355 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.4416, allocations: 103.8 kB / 1.127 GB, free: 8.254 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4416, allocations: 0 / 1.127 GB, free: 8.254 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.887e-05/0.4417, allocations: 21.17 kB / 1.127 GB, free: 8.234 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.4419, allocations: 19.94 kB / 1.127 GB, free: 8.215 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.4424, allocations: 280.3 kB / 1.127 GB, free: 7.906 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.4426, allocations: 114.2 kB / 1.127 GB, free: 7.773 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.01e-05/0.4426, allocations: 24.47 kB / 1.127 GB, free: 7.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.4427, allocations: 16.5 kB / 1.127 GB, free: 7.734 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.4427, allocations: 0 / 1.127 GB, free: 7.734 MB / 1.076 GB Notification: Performance of Templates: time 0.00362/0.4463, allocations: 0.7626 MB / 1.128 GB, free: 6.992 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.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.278875532909296]