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.001369/0.001369, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.001562/0.001562, allocations: 211.1 kB / 23 MB, free: 5.113 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.261/3.261, allocations: 0.49 GB / 0.7958 GB, free: 33.36 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.002109/0.002109, allocations: 73 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4263, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004661/0.4309, allocations: 2.613 MB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.4325, allocations: 0.8141 MB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.4326, allocations: 7.938 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.434, allocations: 0.5765 MB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.4343, allocations: 103.5 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.4347, allocations: 107.7 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.435, allocations: 207.4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.4353, allocations: 126.2 kB / 1.332 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.4355, allocations: 91.73 kB / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.4357, allocations: 103.6 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.4358, allocations: 12 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.436, allocations: 123.7 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.495e-05/0.4361, allocations: 55.83 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.675e-05/0.4362, allocations: 67.67 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.4366, allocations: 227.1 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4366, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4366, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.4366, allocations: 0 / 1.332 GB, free: 12.27 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.0007275/0.4373, allocations: 373.9 kB / 1.333 GB, free: 11.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4374, allocations: 11.97 kB / 1.333 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004047/0.4378, allocations: 52.75 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.438, allocations: 158.3 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.438, allocations: 8.656 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.4381, allocations: 16.36 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.4385, allocations: 235.6 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4385, allocations: 7.938 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.4385, allocations: 8 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.4385, allocations: 16.28 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.4388, allocations: 144.7 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.4401, allocations: 1.095 MB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.4402, allocations: 46.5 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/0.4402, allocations: 20.92 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.4402, allocations: 0 / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.4402, allocations: 30.56 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.4402, allocations: 8 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002247/0.4405, allocations: 77.56 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.4405, allocations: 55.34 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.4407, allocations: 171.9 kB / 1.335 GB, free: 9.516 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4407, allocations: 25.7 kB / 1.335 GB, free: 9.484 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.4408, allocations: 155.6 kB / 1.335 GB, free: 9.328 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.4408, allocations: 11.91 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.4409, allocations: 33.7 kB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.441, allocations: 322.8 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.316e-05/0.4411, allocations: 28.84 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.4412, allocations: 85.44 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.4414, allocations: 125.2 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4414, allocations: 4 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002112/0.4416, allocations: 133.4 kB / 1.336 GB, free: 8.508 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4416, allocations: 10.19 kB / 1.336 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4416, allocations: 4 kB / 1.336 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.4416, allocations: 11.92 kB / 1.336 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.4417, allocations: 23.94 kB / 1.336 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4418, allocations: 4 kB / 1.336 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.091e-05/0.4418, allocations: 19.84 kB / 1.336 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.4419, allocations: 11.98 kB / 1.336 GB, free: 8.426 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001049/0.442, allocations: 120.1 kB / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.855e-05/0.4421, allocations: 101 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001388/0.4422, allocations: 125.2 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.4422, allocations: 0 / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002069/0.4424, allocations: 141.4 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.4424, allocations: 4 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.4424, allocations: 4 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-06/0.4424, allocations: 4 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.4425, allocations: 23.98 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4425, allocations: 11.88 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.4426, allocations: 11.89 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.4426, allocations: 4.312 kB / 1.336 GB, free: 7.812 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.0001441/0.4427, allocations: 192.2 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.4428, allocations: 7.953 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.4428, allocations: 17.02 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4428, allocations: 3.938 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4428, allocations: 3.938 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.4428, allocations: 0 / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.4433, allocations: 448.2 kB / 1.337 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4433, allocations: 0 / 1.337 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.4433, allocations: 8 kB / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4433, allocations: 0 / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4433, allocations: 288 / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.4433, allocations: 11.92 kB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4433, allocations: 0 / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.4435, allocations: 123.7 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.4435, allocations: 7.953 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.4435, allocations: 7.984 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.381e-05/0.4436, allocations: 0 / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.4436, allocations: 4 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.4436, allocations: 15.94 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001105/0.4437, allocations: 120 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4437, allocations: 0 / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003511/0.4441, allocations: 59.78 kB / 1.337 GB, free: 6.699 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.0001245/0.4442, allocations: 103.2 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.4444, allocations: 116.4 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4444, allocations: 0 / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/0.4445, allocations: 12 kB / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.4447, allocations: 19.98 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.4453, allocations: 313.8 kB / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.4457, allocations: 0.7239 MB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.4457, allocations: 15.44 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.4457, allocations: 3.938 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of Templates: time 0.003525/0.4492, allocations: 1.466 MB / 1.34 GB, free: 3.859 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: 11.838478696998209]