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.001992/0.001992, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001997/0.001997, allocations: 201.7 kB / 22.18 MB, free: 5.211 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.574/1.574, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.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.811/2.811, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] 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.002464/0.002464, allocations: 71.89 kB / 1.109 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 168.7 MB / 1.274 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004702/1.05, allocations: 2.579 MB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001567/1.052, allocations: 0.8101 MB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/1.052, allocations: 4 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/1.053, allocations: 0.5415 MB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002943/1.054, allocations: 103.5 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/1.054, allocations: 115.7 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003046/1.054, allocations: 199.4 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003598/1.055, allocations: 128.8 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/1.055, allocations: 91.73 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/1.055, allocations: 91.7 kB / 1.279 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/1.055, allocations: 16 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/1.055, allocations: 119.7 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/1.055, allocations: 55.83 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/1.055, allocations: 67.67 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003531/1.056, allocations: 231.2 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/1.056, allocations: 3.938 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/1.056, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.252e-06/1.056, allocations: 0 / 1.279 GB, free: 15.3 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.0007759/1.056, allocations: 455 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/1.057, allocations: 11.97 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/1.057, allocations: 44.8 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/1.057, allocations: 224 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/1.057, allocations: 12.66 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/1.057, allocations: 12.38 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/1.058, allocations: 235.3 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.058, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/1.058, allocations: 7.938 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/1.058, allocations: 16.27 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/1.058, allocations: 148.7 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/1.059, allocations: 1.138 MB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.643e-05/1.059, allocations: 38.56 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/1.059, allocations: 20.86 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/1.06, allocations: 0 / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/1.06, allocations: 30.56 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/1.06, allocations: 0 / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002437/1.06, allocations: 85.59 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/1.06, allocations: 51.41 kB / 1.281 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/1.06, allocations: 171 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/1.06, allocations: 25.7 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/1.06, allocations: 147.7 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/1.06, allocations: 19.89 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/1.06, allocations: 29.67 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.06, allocations: 322.8 kB / 1.282 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-05/1.06, allocations: 32.78 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/1.061, allocations: 86.19 kB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/1.061, allocations: 133.4 kB / 1.282 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.061, allocations: 0 / 1.282 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002236/1.061, allocations: 137.4 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.061, allocations: 8 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.061, allocations: 4 kB / 1.283 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/1.061, allocations: 3.938 kB / 1.283 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/1.061, allocations: 20 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.061, allocations: 11.92 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/1.061, allocations: 19.89 kB / 1.283 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/1.061, allocations: 4.312 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001236/1.061, allocations: 125.6 kB / 1.283 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.637e-05/1.061, allocations: 92.44 kB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001532/1.062, allocations: 117.3 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/1.062, allocations: 0 / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002186/1.062, allocations: 137.3 kB / 1.283 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/1.062, allocations: 13.66 kB / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/1.062, allocations: 4 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-06/1.062, allocations: 0 / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/1.062, allocations: 36.23 kB / 1.283 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.062, allocations: 7.938 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/1.062, allocations: 7.938 kB / 1.283 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/1.062, allocations: 8 kB / 1.283 GB, free: 10.64 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.0001328/1.062, allocations: 188.2 kB / 1.283 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/1.062, allocations: 7.953 kB / 1.283 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/1.062, allocations: 16.92 kB / 1.283 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.062, allocations: 3.938 kB / 1.283 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.062, allocations: 0 / 1.283 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/1.062, allocations: 8 kB / 1.283 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/1.063, allocations: 477 kB / 1.284 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.063, allocations: 0 / 1.284 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/1.063, allocations: 11.94 kB / 1.284 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/1.063, allocations: 3.984 kB / 1.284 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/1.063, allocations: 4.125 kB / 1.284 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.063, allocations: 4 kB / 1.284 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.063, allocations: 0 / 1.284 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/1.063, allocations: 115.5 kB / 1.284 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/1.063, allocations: 96.98 kB / 1.284 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/1.063, allocations: 8 kB / 1.284 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.45e-05/1.063, allocations: 0 / 1.284 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/1.063, allocations: 4 kB / 1.284 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/1.063, allocations: 0 / 1.284 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001252/1.063, allocations: 131.9 kB / 1.284 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.063, allocations: 0 / 1.284 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003551/1.064, allocations: 51.89 kB / 1.284 GB, free: 9.41 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.000134/1.064, allocations: 99.23 kB / 1.284 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002262/1.064, allocations: 115.9 kB / 1.284 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.064, allocations: 4 kB / 1.284 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.639e-05/1.064, allocations: 17.19 kB / 1.284 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/1.064, allocations: 19.92 kB / 1.284 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/1.065, allocations: 279.1 kB / 1.285 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/1.065, allocations: 0.7202 MB / 1.285 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.274e-05/1.065, allocations: 32.7 kB / 1.285 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/1.065, allocations: 11.44 kB / 1.285 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/1.065, allocations: 4 kB / 1.285 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of Templates: time 0.004078/1.07, allocations: 0.9376 MB / 1.286 GB, free: 7.109 MB / 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.21800736291334]