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.001351/0.001351, allocations: 95.92 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.0015/0.0015, allocations: 211 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.542/1.542, 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.314/3.314, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.002045/0.002045, allocations: 64.72 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4142, allocations: 176.1 MB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.00447/0.4187, allocations: 2.521 MB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.4202, allocations: 0.7558 MB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.4203, allocations: 11.88 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.4217, allocations: 0.5317 MB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.422, allocations: 111.5 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.4224, allocations: 115.7 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.4226, allocations: 199.4 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.423, allocations: 138.1 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.4231, allocations: 79.7 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.4234, allocations: 99.69 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.4234, allocations: 12 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.4236, allocations: 107.8 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.4237, allocations: 55.83 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.4238, allocations: 71.66 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.4241, allocations: 223.2 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4241, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4241, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4241, allocations: 0 / 1.332 GB, free: 12.04 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.000733/0.4248, allocations: 373.9 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4249, allocations: 8.031 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/0.4253, allocations: 52.75 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.4256, allocations: 158.3 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.4256, allocations: 12.66 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.4256, allocations: 12.38 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.4261, allocations: 265.3 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4261, allocations: 3.984 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.4261, allocations: 7.984 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.4262, allocations: 24.2 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.4264, allocations: 144.7 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.4274, allocations: 0.7779 MB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.515e-05/0.4275, allocations: 46.5 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.4276, allocations: 16.94 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.4276, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.4276, allocations: 34.56 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4276, allocations: 0 / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002252/0.4279, allocations: 77.53 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.4279, allocations: 55.39 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.4281, allocations: 150.3 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4281, allocations: 25.7 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.4282, allocations: 147.7 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.4282, allocations: 19.83 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.4283, allocations: 33.67 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4284, allocations: 318.8 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.103e-05/0.4285, allocations: 28.84 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.59e-05/0.4286, allocations: 85.44 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.4287, allocations: 125.2 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4287, allocations: 4 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002051/0.4289, allocations: 133.6 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.429, allocations: 9.625 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.429, allocations: 4 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.429, allocations: 4 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.4291, allocations: 27.92 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4291, allocations: 3.938 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.4292, allocations: 19.89 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4292, allocations: 4 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001185/0.4293, allocations: 120.1 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001072/0.4294, allocations: 103.6 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001456/0.4296, allocations: 121.3 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.4296, allocations: 0 / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001993/0.4298, allocations: 145.3 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.4298, allocations: 8 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-06/0.4298, allocations: 0 / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.4298, allocations: 4 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.4299, allocations: 28.2 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.4299, allocations: 4 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.43, allocations: 7.938 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.43, allocations: 8.312 kB / 1.336 GB, free: 7.977 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.0001202/0.4301, allocations: 188.2 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.4301, allocations: 7.953 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.4301, allocations: 24.2 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.4302, allocations: 3.984 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4302, allocations: 0 / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.4302, allocations: 19.83 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.4302, allocations: 0 / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.802e-05/0.4303, allocations: 4 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.4303, allocations: 0 / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001397/0.4304, allocations: 137 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001833/0.4306, allocations: 246.6 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.185e-05/0.4306, allocations: 12 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.141e-05/0.4307, allocations: 112.6 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of Backend: time 3.91e-07/0.4307, allocations: 3.938 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006363/0.4314, allocations: 232 kB / 1.337 GB, free: 6.965 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008072/0.4322, allocations: 0.7005 MB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of Templates: time 0.005248/0.4374, allocations: 1.668 MB / 1.339 GB, free: 4.559 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/jenkins1/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: 9.40349273099855]