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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.87/2.87, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 1.107 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.143, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004073/1.147, allocations: 2.603 MB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001441/1.149, allocations: 0.7973 MB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/1.149, allocations: 3.031 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/1.15, allocations: 0.5427 MB / 1.276 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002817/1.151, allocations: 112.6 kB / 1.276 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/1.151, allocations: 112.6 kB / 1.276 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002846/1.151, allocations: 189.6 kB / 1.276 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/1.151, allocations: 136.9 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/1.152, allocations: 79.41 kB / 1.276 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/1.152, allocations: 97.52 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/1.152, allocations: 12.25 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/1.152, allocations: 119.1 kB / 1.277 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/1.152, allocations: 58.72 kB / 1.277 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.32e-05/1.152, allocations: 68.53 kB / 1.277 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003769/1.153, allocations: 222.5 kB / 1.277 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.153, allocations: 0.5312 kB / 1.277 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/1.153, allocations: 0 / 1.277 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.803e-06/1.153, allocations: 4.688 kB / 1.277 GB, free: 4.801 MB / 0.9981 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.0006277/1.153, allocations: 446.9 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/1.153, allocations: 9.031 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003738/1.154, allocations: 48.48 kB / 1.277 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/1.154, allocations: 219.5 kB / 1.278 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/1.154, allocations: 10.28 kB / 1.278 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/1.154, allocations: 12.62 kB / 1.278 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/1.154, allocations: 237.5 kB / 1.278 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.154, allocations: 0.75 kB / 1.278 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/1.154, allocations: 5.875 kB / 1.278 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/1.154, allocations: 19.61 kB / 1.278 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/1.155, allocations: 144.1 kB / 1.278 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008824/1.155, allocations: 1.136 MB / 1.279 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.367e-05/1.156, allocations: 39.41 kB / 1.279 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/1.156, allocations: 28.58 kB / 1.279 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/1.156, allocations: 7.016 kB / 1.279 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/1.156, allocations: 31.44 kB / 1.279 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/1.156, allocations: 0 / 1.279 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002014/1.156, allocations: 77.28 kB / 1.279 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/1.156, allocations: 52.22 kB / 1.279 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/1.156, allocations: 174 kB / 1.28 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/1.156, allocations: 30.73 kB / 1.28 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/1.156, allocations: 144.1 kB / 1.28 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/1.156, allocations: 16.39 kB / 1.28 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/1.156, allocations: 33.81 kB / 1.28 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.907e-05/1.156, allocations: 319.8 kB / 1.28 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/1.156, allocations: 27.66 kB / 1.28 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/1.156, allocations: 91.84 kB / 1.28 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/1.156, allocations: 122.1 kB / 1.28 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.156, allocations: 0.9062 kB / 1.28 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001862/1.157, allocations: 137.2 kB / 1.28 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.157, allocations: 6.75 kB / 1.28 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.157, allocations: 3 kB / 1.28 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.157, allocations: 6.844 kB / 1.28 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/1.157, allocations: 32.33 kB / 1.28 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.157, allocations: 3.875 kB / 1.28 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.993e-05/1.157, allocations: 13.77 kB / 1.28 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/1.157, allocations: 9.656 kB / 1.281 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.92e-05/1.157, allocations: 123.2 kB / 1.281 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.947e-05/1.157, allocations: 89.91 kB / 1.281 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.833e-05/1.157, allocations: 127.4 kB / 1.281 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/1.157, allocations: 1 kB / 1.281 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001743/1.157, allocations: 137.6 kB / 1.281 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/1.157, allocations: 5.5 kB / 1.281 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.157, allocations: 2.938 kB / 1.281 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/1.157, allocations: 11.09 kB / 1.281 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/1.157, allocations: 23.92 kB / 1.281 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.157, allocations: 11.06 kB / 1.281 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/1.157, allocations: 7.844 kB / 1.281 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/1.157, allocations: 6.219 kB / 1.281 GB, free: 1.258 MB / 0.9981 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 5.232e-05/1.157, allocations: 183.9 kB / 1.281 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/1.157, allocations: 13.78 kB / 1.281 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/1.158, allocations: 14.98 kB / 1.281 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.158, allocations: 5.562 kB / 1.281 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.158, allocations: 4 kB / 1.281 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/1.158, allocations: 0 / 1.281 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/1.158, allocations: 469 kB / 1.282 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.158, allocations: 6.203 kB / 1.282 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/1.158, allocations: 6.625 kB / 1.282 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/1.158, allocations: 6.266 kB / 1.282 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/1.158, allocations: 1 kB / 1.282 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.158, allocations: 5.406 kB / 1.282 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.158, allocations: 1.031 kB / 1.282 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/1.158, allocations: 125.7 kB / 1.282 GB, free: 476 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/1.158, allocations: 95.47 kB / 1.282 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/1.158, allocations: 2.422 kB / 1.282 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.419e-05/1.158, allocations: 2.172 kB / 1.282 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/1.158, allocations: 3.109 kB / 1.282 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/1.158, allocations: 1.969 kB / 1.282 GB, free: 368 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.879e-05/1.158, allocations: 127.3 kB / 1.282 GB, free: 276 kB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.158, allocations: 0 / 1.282 GB, free: 276 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003652/1.159, allocations: 52.67 kB / 1.282 GB, free: 264 kB / 0.9981 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 8.049e-05/1.159, allocations: 110.4 kB / 1.282 GB, free: 160 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002276/1.159, allocations: 105.2 kB / 1.282 GB, free: 124 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.159, allocations: 2.406 kB / 1.282 GB, free: 124 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/1.159, allocations: 18.95 kB / 1.282 GB, free: 116 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/1.159, allocations: 26.61 kB / 1.282 GB, free: 108 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/1.16, allocations: 276.8 kB / 1.283 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/1.16, allocations: 0.7215 MB / 1.283 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.376e-05/1.16, allocations: 28.41 kB / 1.283 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/1.16, allocations: 12.28 kB / 1.283 GB, free: 15.18 MB / 1.014 GB Notification: Performance of SimCode: time 3.7e-07/1.16, allocations: 0.8438 kB / 1.283 GB, free: 15.18 MB / 1.014 GB Notification: Performance of Templates: time 0.003752/1.164, allocations: 0.9063 MB / 1.284 GB, free: 15.07 MB / 1.014 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: 9.281992594711483]