Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001857/0.001857, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003012/0.003012, allocations: 215.9 kB / 22.25 MB, free: 5.262 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.656/1.656, allocations: 230.6 MB / 256 MB, free: 7.789 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.53/3.53, allocations: 0.4892 GB / 0.7943 GB, free: 35.8 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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_12_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_12_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.002142/0.002142, allocations: 66.88 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4402/0.4424, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.005118/0.4475, allocations: 2.516 MB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.4492, allocations: 0.7597 MB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.4493, allocations: 7.938 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.4508, allocations: 0.5375 MB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.4512, allocations: 107.5 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.4516, allocations: 119.7 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.4519, allocations: 195.4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.4523, allocations: 130.1 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.4525, allocations: 91.69 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.4528, allocations: 91.62 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.4528, allocations: 20 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.4531, allocations: 103.7 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/0.4532, allocations: 55.88 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.867e-05/0.4532, allocations: 55.73 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.4536, allocations: 227.1 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4536, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4536, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.4536, allocations: 0 / 1.33 GB, free: 12.89 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007587/0.4544, allocations: 377.9 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4544, allocations: 8.031 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000402/0.4548, allocations: 56.75 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.4551, allocations: 158.3 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4552, allocations: 8.656 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.4552, allocations: 16.36 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.4556, allocations: 261.4 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4556, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.4556, allocations: 4 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.4557, allocations: 20.2 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.4559, allocations: 156.7 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.457, allocations: 0.774 MB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.467e-05/0.4571, allocations: 38.56 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.4571, allocations: 16.86 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.4571, allocations: 0 / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.4571, allocations: 34.64 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.4571, allocations: 0 / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000219/0.4574, allocations: 77.53 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.4574, allocations: 63.34 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.4576, allocations: 155.2 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.4576, allocations: 29.64 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.4577, allocations: 147.6 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.4577, allocations: 19.84 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.4578, allocations: 33.66 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4579, allocations: 318.8 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.879e-05/0.458, allocations: 24.84 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.4581, allocations: 93.42 kB / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.4582, allocations: 121.2 kB / 1.333 GB, free: 9.648 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4582, allocations: 0 / 1.333 GB, free: 9.648 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002191/0.4585, allocations: 137.4 kB / 1.333 GB, free: 9.508 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4585, allocations: 11.94 kB / 1.333 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4585, allocations: 0 / 1.333 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4585, allocations: 4 kB / 1.333 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4586, allocations: 23.98 kB / 1.333 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.4587, allocations: 7.938 kB / 1.333 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.4587, allocations: 11.89 kB / 1.333 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.4587, allocations: 15.94 kB / 1.333 GB, free: 9.434 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001233/0.4589, allocations: 120.4 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000105/0.459, allocations: 97.19 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001525/0.4591, allocations: 125.3 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.4591, allocations: 4 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002113/0.4593, allocations: 133.6 kB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.4593, allocations: 5.719 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4594, allocations: 4 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.4594, allocations: 8.031 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/0.4594, allocations: 24.25 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4595, allocations: 11.98 kB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.4595, allocations: 11.94 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.4595, allocations: 4 kB / 1.334 GB, free: 8.824 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 (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.0001262/0.4597, allocations: 192.2 kB / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.4597, allocations: 11.89 kB / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.4597, allocations: 12.34 kB / 1.334 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.4597, allocations: 0 / 1.334 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4597, allocations: 3.938 kB / 1.334 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4597, allocations: 0 / 1.334 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.4602, allocations: 408.8 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4602, allocations: 0 / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.4602, allocations: 15.88 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4602, allocations: 0 / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.4602, allocations: 12 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4602, allocations: 0 / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4602, allocations: 0 / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.4604, allocations: 107.6 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.4604, allocations: 19.83 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.4604, allocations: 128 / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/0.4605, allocations: 11.92 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.4605, allocations: 8 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.4605, allocations: 4 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.102e-05/0.4606, allocations: 105 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4606, allocations: 0 / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003621/0.461, allocations: 55.84 kB / 1.335 GB, free: 7.785 MB / 1.029 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.0001165/0.4611, allocations: 103.2 kB / 1.335 GB, free: 7.676 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.4613, allocations: 108 kB / 1.335 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4613, allocations: 0 / 1.335 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.141e-05/0.4613, allocations: 19.94 kB / 1.335 GB, free: 7.551 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.4616, allocations: 19.92 kB / 1.335 GB, free: 7.531 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.4621, allocations: 268.6 kB / 1.335 GB, free: 7.234 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.4622, allocations: 106.2 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.396e-05/0.4623, allocations: 32.31 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.4623, allocations: 15.44 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4623, allocations: 0 / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of Templates: time 0.003925/0.4663, allocations: 0.8962 MB / 1.336 GB, free: 6.18 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.152440572157502]