Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.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.001518/0.001518, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001533/0.001533, allocations: 174.5 kB / 22.46 MB, free: 5.355 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.444/1.444, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.881/2.881, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9814 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.657e-05, allocations: 6.281 kB / 0.9814 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003686/0.003713, allocations: 2.183 MB / 0.9835 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.6925/0.6962, allocations: 133.6 MB / 1.114 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.6965, allocations: 6.625 kB / 1.114 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.6968, allocations: 48.02 kB / 1.114 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.6972, allocations: 111.2 kB / 1.114 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.6983, allocations: 312.8 kB / 1.114 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006828/0.699, allocations: 435.8 kB / 1.115 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.6992, allocations: 81.33 kB / 1.115 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.7009, allocations: 360.8 kB / 1.115 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.7012, allocations: 147.6 kB / 1.115 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.417e-05/0.7013, allocations: 31 kB / 1.115 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006086/0.7019, allocations: 271.1 kB / 1.116 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.702, allocations: 80.62 kB / 1.116 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.7022, allocations: 114.3 kB / 1.116 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008731/0.7031, allocations: 0.5292 MB / 1.116 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7031, allocations: 8 kB / 1.116 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7031, allocations: 0.875 kB / 1.116 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.7031, allocations: 0 / 1.116 GB, free: 14.11 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001457/0.7045, allocations: 0.6315 MB / 1.117 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.7046, allocations: 10.72 kB / 1.117 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/0.7079, allocations: 283.7 kB / 1.117 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.7085, allocations: 253 kB / 1.118 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.7085, allocations: 22.5 kB / 1.118 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.953e-05/0.7086, allocations: 32.5 kB / 1.118 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.7103, allocations: 432.4 kB / 1.118 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.7103, allocations: 5.203 kB / 1.118 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.7103, allocations: 9.469 kB / 1.118 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.7104, allocations: 6.406 kB / 1.118 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/0.713, allocations: 0.5204 MB / 1.119 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003226/0.7163, allocations: 0.9574 MB / 1.12 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.7187, allocations: 443.6 kB / 1.12 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.7198, allocations: 214.9 kB / 1.12 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.7199, allocations: 3.297 kB / 1.12 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.7199, allocations: 37.48 kB / 1.12 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.7199, allocations: 4 kB / 1.12 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.01744/0.7373, allocations: 1.571 MB / 1.122 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.7374, allocations: 54.59 kB / 1.122 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.7376, allocations: 225.8 kB / 1.122 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.983e-05/0.7377, allocations: 31.41 kB / 1.122 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.7378, allocations: 178.8 kB / 1.122 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.909e-05/0.7379, allocations: 91.03 kB / 1.122 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.7381, allocations: 72.77 kB / 1.122 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.667e-05/0.7381, allocations: 337.5 kB / 1.123 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.7392, allocations: 203.4 kB / 1.123 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.7404, allocations: 363.1 kB / 1.123 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.7427, allocations: 437 kB / 1.124 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7427, allocations: 0 / 1.124 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00766/0.7504, allocations: 0.888 MB / 1.124 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.7504, allocations: 8.547 kB / 1.125 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.7504, allocations: 2.125 kB / 1.125 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.7525, allocations: 281 kB / 1.125 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.753, allocations: 64.31 kB / 1.125 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/0.7683, allocations: 3.812 MB / 1.129 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.7694, allocations: 64.02 kB / 1.129 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.7694, allocations: 21.31 kB / 1.129 GB, free: 9.32 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.7697, allocations: 147.5 kB / 1.129 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.7698, allocations: 24.02 kB / 1.129 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007955/0.7777, allocations: 0.9396 MB / 1.13 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.7778, allocations: 4.562 kB / 1.13 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7778, allocations: 2.797 kB / 1.13 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.7778, allocations: 5.25 kB / 1.13 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.7783, allocations: 296.3 kB / 1.13 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.7783, allocations: 0 / 1.13 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.7788, allocations: 57.62 kB / 1.13 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/0.7807, allocations: 275.1 kB / 1.13 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.7807, allocations: 15.11 kB / 1.13 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/0.7957, allocations: 3.804 MB / 1.134 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7957, allocations: 3.094 kB / 1.134 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007633/0.8034, allocations: 0.9495 MB / 1.135 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.8035, allocations: 25.48 kB / 1.135 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.562e-05/0.8036, allocations: 9.547 kB / 1.135 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007753/0.8043, allocations: 45.25 kB / 1.135 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.8044, allocations: 19.59 kB / 1.135 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/0.8045, allocations: 22.34 kB / 1.135 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001527/0.8046, allocations: 169.1 kB / 1.135 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8046, allocations: 1.438 kB / 1.135 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007015/0.8053, allocations: 125.5 kB / 1.135 GB, free: 6.109 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002371/0.8056, allocations: 119.3 kB / 1.136 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003132/0.8087, allocations: 0.7104 MB / 1.136 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8087, allocations: 0.8125 kB / 1.136 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.8104, allocations: 0.4899 MB / 1.137 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.8111, allocations: 72.64 kB / 1.137 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.8138, allocations: 0.6765 MB / 1.137 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.8139, allocations: 164.1 kB / 1.138 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003688/0.8143, allocations: 70.08 kB / 1.138 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.8145, allocations: 30.58 kB / 1.138 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/0.8145, allocations: 0 / 1.138 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of Templates: time 0.01936/0.8338, allocations: 13.16 MB / 1.151 GB, free: 3.816 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.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.108561750501394]