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.001297/0.001297, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001391/0.001391, allocations: 213.5 kB / 22.99 MB, free: 4.984 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: 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.225/3.225, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.003346/0.003346, allocations: 68.61 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3999, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004583/0.4045, allocations: 2.514 MB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.406, allocations: 0.7597 MB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.4061, allocations: 7.938 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.4075, allocations: 0.5426 MB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.4078, allocations: 107.5 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.4081, allocations: 111.7 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.4083, allocations: 199.4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/0.4087, allocations: 134.1 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.4088, allocations: 87.75 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.4091, allocations: 103.6 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.4091, allocations: 12 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.4093, allocations: 99.77 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.628e-05/0.4094, allocations: 55.81 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.432e-05/0.4094, allocations: 63.73 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.4097, allocations: 223.2 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4098, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4098, allocations: 4 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.4098, allocations: 3.938 kB / 1.332 GB, free: 12 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.000684/0.4104, allocations: 375.7 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4105, allocations: 12.03 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003943/0.4109, allocations: 52.75 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.4112, allocations: 154.3 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.4112, allocations: 8.656 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.4112, allocations: 16.38 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.4116, allocations: 261.4 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4117, allocations: 3.938 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.4117, allocations: 8 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-05/0.4117, allocations: 12.27 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.412, allocations: 144.7 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.413, allocations: 0.7818 MB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.728e-05/0.4131, allocations: 38.56 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.4131, allocations: 16.86 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.4132, allocations: 96 / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.4132, allocations: 34.55 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.4132, allocations: 0 / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002276/0.4134, allocations: 85.52 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.4135, allocations: 55.34 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.4136, allocations: 153.7 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.4136, allocations: 29.64 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.4137, allocations: 143.6 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.4138, allocations: 23.84 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.4138, allocations: 33.66 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.414, allocations: 318.8 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.414, allocations: 24.86 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.4141, allocations: 105.1 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.4143, allocations: 121.3 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4143, allocations: 4 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002059/0.4145, allocations: 133.4 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4145, allocations: 12.31 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4145, allocations: 4 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4145, allocations: 0 / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4146, allocations: 27.98 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.4147, allocations: 15.86 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.4147, allocations: 15.89 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.4147, allocations: 4 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001078/0.4148, allocations: 124.1 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.741e-05/0.4149, allocations: 89.44 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001463/0.4151, allocations: 129.3 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.4151, allocations: 3.938 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002008/0.4153, allocations: 133.4 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.4153, allocations: 9.875 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/0.4153, allocations: 0 / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.4153, allocations: 4 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.4154, allocations: 23.94 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4154, allocations: 7.984 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.4155, allocations: 11.94 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.4155, allocations: 4 kB / 1.336 GB, free: 7.938 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.00013/0.4156, allocations: 196.5 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.4156, allocations: 7.953 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.4157, allocations: 12.34 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4157, allocations: 0 / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4157, allocations: 3.938 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4157, allocations: 0 / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.4161, allocations: 408.7 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4161, allocations: 4 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.4162, allocations: 12 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.4162, allocations: 8 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.4162, allocations: 0 / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4162, allocations: 0 / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4162, allocations: 4 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.4163, allocations: 119.5 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.4163, allocations: 12.22 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.4164, allocations: 0 / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/0.4164, allocations: 7.984 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.4164, allocations: 7.984 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.4164, allocations: 4 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.057e-05/0.4165, allocations: 113 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4165, allocations: 0 / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003629/0.4169, allocations: 55.84 kB / 1.336 GB, free: 6.891 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.0001133/0.417, allocations: 103.2 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.4172, allocations: 108.8 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4172, allocations: 4.125 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.379e-05/0.4172, allocations: 11.94 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.4175, allocations: 25.3 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.418, allocations: 267.4 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.4181, allocations: 110.1 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.09e-05/0.4182, allocations: 32.56 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.4183, allocations: 11.44 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4183, allocations: 0 / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of Templates: time 0.003851/0.4221, allocations: 0.9374 MB / 1.338 GB, free: 5.242 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 -s gbode -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.045168591008405]