Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.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.001334/0.001334, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001422/0.001422, allocations: 192.6 kB / 22.17 MB, free: 5.656 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.424/1.424, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.806/2.806, allocations: 476.7 MB / 0.7645 GB, free: 10.14 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.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_11_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_11_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.88 kB / 1.109 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7695, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003602/0.7731, allocations: 2.337 MB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1955/0.9686, allocations: 152.5 MB / 1.425 GB, free: 9.07 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003718/0.9689, allocations: 3.938 kB / 1.425 GB, free: 9.066 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.9693, allocations: 43.47 kB / 1.425 GB, free: 9.023 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0006321/0.9699, allocations: 103.2 kB / 1.425 GB, free: 8.922 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.971, allocations: 306.9 kB / 1.426 GB, free: 8.621 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0007313/0.9717, allocations: 431.8 kB / 1.426 GB, free: 8.195 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.972, allocations: 74.39 kB / 1.426 GB, free: 8.121 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.9737, allocations: 285.2 kB / 1.426 GB, free: 7.863 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.974, allocations: 183.2 kB / 1.427 GB, free: 7.684 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 8.029e-05/0.9741, allocations: 32 kB / 1.427 GB, free: 7.652 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000713/0.9748, allocations: 283.5 kB / 1.427 GB, free: 7.375 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.9749, allocations: 83.73 kB / 1.427 GB, free: 7.293 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.9751, allocations: 163.2 kB / 1.427 GB, free: 7.133 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007972/0.9759, allocations: 0.4904 MB / 1.428 GB, free: 6.641 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.9759, allocations: 0 / 1.428 GB, free: 6.641 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9759, allocations: 0 / 1.428 GB, free: 6.641 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.9759, allocations: 0 / 1.428 GB, free: 6.641 MB / 1.123 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.001591/0.9775, allocations: 0.7127 MB / 1.428 GB, free: 5.879 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.9776, allocations: 12.03 kB / 1.428 GB, free: 5.867 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/0.9804, allocations: 259.7 kB / 1.429 GB, free: 5.613 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.981, allocations: 323.3 kB / 1.429 GB, free: 5.258 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.981, allocations: 20.56 kB / 1.429 GB, free: 5.238 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.138e-05/0.9811, allocations: 24 kB / 1.429 GB, free: 5.215 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.9826, allocations: 428.5 kB / 1.429 GB, free: 4.793 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.9827, allocations: 4 kB / 1.429 GB, free: 4.789 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/0.9827, allocations: 12 kB / 1.429 GB, free: 4.777 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.9827, allocations: 7.938 kB / 1.429 GB, free: 4.77 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.9851, allocations: 0.5251 MB / 1.43 GB, free: 4.246 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.9884, allocations: 1.132 MB / 1.431 GB, free: 3.062 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.9907, allocations: 445.7 kB / 1.431 GB, free: 2.621 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.9918, allocations: 224.6 kB / 1.432 GB, free: 2.398 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.9918, allocations: 4 kB / 1.432 GB, free: 2.395 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.9918, allocations: 30.56 kB / 1.432 GB, free: 2.355 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 2.164e-06/0.9918, allocations: 0 / 1.432 GB, free: 2.355 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.01604/1.008, allocations: 1.733 MB / 1.433 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/1.008, allocations: 55.41 kB / 1.433 GB, free: 0.5078 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/1.008, allocations: 308.5 kB / 1.434 GB, free: 208 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.281e-05/1.008, allocations: 25.7 kB / 1.434 GB, free: 176 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/1.009, allocations: 180.5 kB / 1.434 GB, free: 15.99 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/1.009, allocations: 83.22 kB / 1.434 GB, free: 15.91 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/1.009, allocations: 85.84 kB / 1.434 GB, free: 15.81 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002256/1.009, allocations: 342.6 kB / 1.434 GB, free: 15.47 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/1.01, allocations: 204.4 kB / 1.435 GB, free: 15.27 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/1.011, allocations: 258.9 kB / 1.435 GB, free: 15 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/1.014, allocations: 438.8 kB / 1.435 GB, free: 14.56 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.014, allocations: 0 / 1.435 GB, free: 14.56 MB / 1.139 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006934/1.021, allocations: 0.889 MB / 1.436 GB, free: 13.66 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.021, allocations: 4 kB / 1.436 GB, free: 13.66 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.021, allocations: 4 kB / 1.436 GB, free: 13.65 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/1.023, allocations: 281.4 kB / 1.436 GB, free: 13.37 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/1.023, allocations: 67.88 kB / 1.436 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/1.038, allocations: 4.098 MB / 1.44 GB, free: 8.926 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009151/1.039, allocations: 71.75 kB / 1.441 GB, free: 8.855 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.039, allocations: 23.95 kB / 1.441 GB, free: 8.832 MB / 1.139 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.0003001/1.04, allocations: 149.7 kB / 1.441 GB, free: 8.676 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/1.04, allocations: 31.81 kB / 1.441 GB, free: 8.645 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007268/1.047, allocations: 0.9495 MB / 1.442 GB, free: 7.684 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.047, allocations: 4 kB / 1.442 GB, free: 7.68 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/1.047, allocations: 0 / 1.442 GB, free: 7.68 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.047, allocations: 0 / 1.442 GB, free: 7.68 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006929/1.048, allocations: 428.7 kB / 1.442 GB, free: 7.211 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.048, allocations: 8 kB / 1.442 GB, free: 7.203 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/1.048, allocations: 55.89 kB / 1.442 GB, free: 7.148 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001828/1.05, allocations: 281.4 kB / 1.442 GB, free: 6.867 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/1.05, allocations: 15.97 kB / 1.442 GB, free: 6.852 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/1.065, allocations: 4.069 MB / 1.446 GB, free: 2.492 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/1.065, allocations: 7.938 kB / 1.446 GB, free: 2.484 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007191/1.072, allocations: 0.9572 MB / 1.447 GB, free: 1.504 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/1.072, allocations: 108.9 kB / 1.447 GB, free: 1.379 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.125e-05/1.073, allocations: 4 kB / 1.447 GB, free: 1.375 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007743/1.073, allocations: 47.94 kB / 1.447 GB, free: 1.328 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.073, allocations: 27.84 kB / 1.448 GB, free: 1.301 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/1.074, allocations: 19.97 kB / 1.448 GB, free: 1.281 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002793/1.074, allocations: 227.1 kB / 1.448 GB, free: 1.062 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.074, allocations: 0 / 1.448 GB, free: 1.062 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006081/1.074, allocations: 115.9 kB / 1.448 GB, free: 0.9492 MB / 1.139 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.0002391/1.075, allocations: 123.1 kB / 1.448 GB, free: 0.8203 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0029/1.078, allocations: 0.7159 MB / 1.449 GB, free: 80 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.078, allocations: 0 / 1.449 GB, free: 80 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/1.079, allocations: 497.2 kB / 1.449 GB, free: 15.57 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/1.08, allocations: 101.2 kB / 1.449 GB, free: 15.47 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/1.083, allocations: 0.7002 MB / 1.45 GB, free: 14.75 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/1.083, allocations: 0.7723 MB / 1.451 GB, free: 13.95 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003887/1.083, allocations: 82.86 kB / 1.451 GB, free: 13.87 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/1.084, allocations: 39.41 kB / 1.451 GB, free: 13.83 MB / 1.154 GB Notification: Performance of SimCode: time 7.61e-07/1.084, allocations: 0 / 1.451 GB, free: 13.83 MB / 1.154 GB Notification: Performance of Templates: time 0.02456/1.108, allocations: 13.87 MB / 1.464 GB, free: 20 kB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.387642782647163]