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.001328/0.001328, allocations: 115.7 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.00144/0.00144, allocations: 199.5 kB / 22.17 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.491/1.491, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.804/2.804, allocations: 476.7 MB / 0.7645 GB, free: 10.08 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.002845/0.002845, allocations: 59.91 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8685/0.8713, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004964/0.8763, allocations: 2.594 MB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.8779, allocations: 0.8063 MB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.878, allocations: 0 / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.8795, allocations: 0.5414 MB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.8798, allocations: 103.5 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.8802, allocations: 115.7 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.8805, allocations: 203.4 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.8809, allocations: 124.8 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.881, allocations: 83.73 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.8813, allocations: 103.6 kB / 1.279 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.8814, allocations: 12 kB / 1.279 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.8816, allocations: 115.8 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.8817, allocations: 59.83 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.8818, allocations: 75.66 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004047/0.8822, allocations: 223.1 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8822, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8822, allocations: 4 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.8822, allocations: 3.938 kB / 1.279 GB, free: 15.37 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.0008254/0.883, allocations: 447 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.8831, allocations: 8.031 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004029/0.8835, allocations: 52.81 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.8838, allocations: 220.1 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.8838, allocations: 8.656 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.8838, allocations: 12.38 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.8843, allocations: 235.2 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.8843, allocations: 7.984 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.8843, allocations: 11.98 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/0.8843, allocations: 16.28 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.8846, allocations: 144.7 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.8859, allocations: 1.135 MB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/0.886, allocations: 42.56 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.886, allocations: 16.8 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.8861, allocations: 0 / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.8861, allocations: 34.56 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.8861, allocations: 4 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000223/0.8863, allocations: 77.66 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.8863, allocations: 55.34 kB / 1.281 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.8866, allocations: 172.9 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.8866, allocations: 29.7 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.8867, allocations: 143.7 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.8867, allocations: 11.91 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.8867, allocations: 33.67 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8869, allocations: 322.8 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.8869, allocations: 32.78 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.8871, allocations: 92.38 kB / 1.282 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.8872, allocations: 125.3 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8872, allocations: 4 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002658/0.8875, allocations: 133.4 kB / 1.283 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.8875, allocations: 4.312 kB / 1.283 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8875, allocations: 8 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.8875, allocations: 7.938 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.8877, allocations: 27.92 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.8877, allocations: 4 kB / 1.283 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.231e-05/0.8878, allocations: 15.89 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.8878, allocations: 8 kB / 1.283 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001271/0.8879, allocations: 124.1 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.257e-05/0.888, allocations: 85.44 kB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001585/0.8881, allocations: 125.2 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.8881, allocations: 0 / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002231/0.8884, allocations: 141.5 kB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.8884, allocations: 5.875 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8884, allocations: 4 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.8884, allocations: 4.047 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.8885, allocations: 27.97 kB / 1.283 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.8885, allocations: 11.88 kB / 1.283 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.8886, allocations: 7.938 kB / 1.283 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.8886, allocations: 8.312 kB / 1.283 GB, free: 10.72 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.0001223/0.8887, allocations: 188.2 kB / 1.283 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.8887, allocations: 7.953 kB / 1.283 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.8888, allocations: 16.94 kB / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.8888, allocations: 3.938 kB / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8888, allocations: 0 / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.8888, allocations: 0 / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005085/0.8893, allocations: 477 kB / 1.284 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.8893, allocations: 4 kB / 1.284 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.8893, allocations: 11.92 kB / 1.284 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.8893, allocations: 4 kB / 1.284 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.8893, allocations: 0 / 1.284 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.8893, allocations: 7.938 kB / 1.284 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8893, allocations: 0 / 1.284 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.8895, allocations: 123.6 kB / 1.284 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.8896, allocations: 92.98 kB / 1.284 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.8896, allocations: 0 / 1.284 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.8896, allocations: 4 kB / 1.284 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.8896, allocations: 0 / 1.284 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.8897, allocations: 12 kB / 1.284 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001202/0.8898, allocations: 128.9 kB / 1.284 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8898, allocations: 0 / 1.284 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003905/0.8902, allocations: 51.89 kB / 1.284 GB, free: 9.484 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.0001395/0.8903, allocations: 103.2 kB / 1.284 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.8905, allocations: 116.5 kB / 1.284 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8906, allocations: 0 / 1.284 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.991e-05/0.8906, allocations: 19.92 kB / 1.284 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.8909, allocations: 19.94 kB / 1.284 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.8915, allocations: 287.5 kB / 1.285 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.8919, allocations: 0.7202 MB / 1.285 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.654e-05/0.892, allocations: 28.62 kB / 1.285 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.892, allocations: 11.44 kB / 1.285 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.892, allocations: 0 / 1.285 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of Templates: time 0.004158/0.8962, allocations: 0.9396 MB / 1.286 GB, free: 7.18 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 cvode -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: 8.67643147194758]