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.001522/0.001522, 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.001636/0.001636, allocations: 210 kB / 22.24 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.562/1.562, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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.878/2.878, allocations: 475.9 MB / 0.7699 GB, free: 4.773 MB / 0.6231 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.002198/0.002198, allocations: 69.94 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4633, allocations: 170 MB / 1.283 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.005316/0.4686, allocations: 2.526 MB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.4704, allocations: 0.7518 MB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.4705, allocations: 0 / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.4721, allocations: 0.5454 MB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.4725, allocations: 111.5 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.4729, allocations: 112.4 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.4733, allocations: 195.4 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004579/0.4737, allocations: 142.1 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.4739, allocations: 75.77 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.4742, allocations: 103.6 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.4742, allocations: 12 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.4745, allocations: 99.75 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.4746, allocations: 55.83 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.4747, allocations: 63.72 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.4751, allocations: 227.2 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4751, allocations: 0 / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4751, allocations: 0 / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.4752, allocations: 0 / 1.288 GB, free: 6.996 MB / 0.9825 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.0009143/0.4761, allocations: 373.9 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4761, allocations: 8.031 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004325/0.4765, allocations: 48.8 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.4769, allocations: 158.3 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.4769, allocations: 16.64 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.4769, allocations: 12.38 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.4774, allocations: 261 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.4774, allocations: 7.984 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.4774, allocations: 4 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/0.4774, allocations: 12.28 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.4777, allocations: 144.7 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.4789, allocations: 0.7818 MB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.479, allocations: 50.5 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.479, allocations: 16.94 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.479, allocations: 4 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.4791, allocations: 34.5 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.4791, allocations: 0 / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002362/0.4793, allocations: 69.64 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.4794, allocations: 59.33 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.4795, allocations: 147.6 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.4795, allocations: 25.7 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.4797, allocations: 155.6 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.4797, allocations: 15.83 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.4798, allocations: 37.67 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.4799, allocations: 322.8 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.356e-05/0.48, allocations: 32.84 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.4801, allocations: 83.69 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.4803, allocations: 129.3 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4803, allocations: 0 / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002263/0.4805, allocations: 137.5 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4805, allocations: 4 kB / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4805, allocations: 4.312 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.4805, allocations: 8 kB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4807, allocations: 27.92 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.4807, allocations: 7.938 kB / 1.291 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.4807, allocations: 15.89 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.4808, allocations: 4 kB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001174/0.4809, allocations: 128.1 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001079/0.481, allocations: 85.42 kB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000167/0.4812, allocations: 129.2 kB / 1.291 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.4812, allocations: 0 / 1.291 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002022/0.4814, allocations: 133.5 kB / 1.291 GB, free: 3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.004e-06/0.4814, allocations: 11.94 kB / 1.291 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4814, allocations: 4 kB / 1.291 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/0.4814, allocations: 4 kB / 1.291 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.4815, allocations: 23.92 kB / 1.291 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.4815, allocations: 7.938 kB / 1.291 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.775e-05/0.4815, allocations: 7.938 kB / 1.291 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.4815, allocations: 12 kB / 1.291 GB, free: 2.93 MB / 0.9825 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.000137/0.4817, allocations: 180.4 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.4817, allocations: 11.95 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.4817, allocations: 12.33 kB / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4817, allocations: 0 / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/0.4818, allocations: 7.938 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4818, allocations: 0 / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.4822, allocations: 412.7 kB / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4822, allocations: 0 / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.4823, allocations: 11.94 kB / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4823, allocations: 0 / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.4823, allocations: 8.109 kB / 1.292 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.4823, allocations: 4 kB / 1.292 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4823, allocations: 0 / 1.292 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.4824, allocations: 107.6 kB / 1.292 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.4825, allocations: 19.88 kB / 1.292 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.4825, allocations: 4 kB / 1.292 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.379e-05/0.4825, allocations: 4 kB / 1.292 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.4825, allocations: 4 kB / 1.292 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.4825, allocations: 0 / 1.292 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000107/0.4827, allocations: 109.5 kB / 1.292 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4827, allocations: 4 kB / 1.292 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003522/0.483, allocations: 59.84 kB / 1.292 GB, free: 1.902 MB / 0.9825 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.0001201/0.4831, allocations: 103.1 kB / 1.293 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.4834, allocations: 100.8 kB / 1.293 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4834, allocations: 0 / 1.293 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.46e-05/0.4834, allocations: 28.17 kB / 1.293 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.4837, allocations: 23.86 kB / 1.293 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.4842, allocations: 279.3 kB / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.4844, allocations: 106.5 kB / 1.293 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.711e-05/0.4845, allocations: 32.7 kB / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.4845, allocations: 11.44 kB / 1.293 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.4845, allocations: 3.938 kB / 1.293 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of Templates: time 0.004049/0.4885, allocations: 0.8817 MB / 1.294 GB, free: 312 kB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 10.272778851911426]