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.001813/0.001813, 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.002057/0.002057, allocations: 199.6 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.436/1.436, 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.803/2.803, 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.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.001934/0.001934, allocations: 67.88 kB / 1.109 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7175/0.7195, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003676/0.7231, allocations: 2.321 MB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1737/0.8969, allocations: 152.5 MB / 1.425 GB, free: 9.102 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.8971, allocations: 7.938 kB / 1.425 GB, free: 9.094 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.8973, allocations: 51.45 kB / 1.425 GB, free: 9.043 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.8976, allocations: 99.2 kB / 1.425 GB, free: 8.945 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007525/0.8984, allocations: 310.8 kB / 1.426 GB, free: 8.641 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.8989, allocations: 431.8 kB / 1.426 GB, free: 8.215 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.899, allocations: 70.41 kB / 1.426 GB, free: 8.145 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.9005, allocations: 286.5 kB / 1.426 GB, free: 7.887 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.9008, allocations: 183.3 kB / 1.427 GB, free: 7.707 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.9008, allocations: 32 kB / 1.427 GB, free: 7.676 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005381/0.9014, allocations: 279.5 kB / 1.427 GB, free: 7.402 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 9.579e-05/0.9015, allocations: 79.73 kB / 1.427 GB, free: 7.324 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.9016, allocations: 167.2 kB / 1.427 GB, free: 7.16 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006682/0.9023, allocations: 494.1 kB / 1.428 GB, free: 6.676 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.9023, allocations: 4 kB / 1.428 GB, free: 6.672 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9023, allocations: 4 kB / 1.428 GB, free: 6.668 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.9023, allocations: 0 / 1.428 GB, free: 6.668 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.001529/0.9038, allocations: 0.7166 MB / 1.428 GB, free: 5.902 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.9039, allocations: 12.02 kB / 1.428 GB, free: 5.891 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/0.9068, allocations: 263.6 kB / 1.429 GB, free: 5.633 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.9072, allocations: 307.4 kB / 1.429 GB, free: 5.293 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.9072, allocations: 16.56 kB / 1.429 GB, free: 5.277 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.9073, allocations: 32 kB / 1.429 GB, free: 5.246 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.9088, allocations: 432.5 kB / 1.429 GB, free: 4.82 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.9088, allocations: 7.875 kB / 1.429 GB, free: 4.812 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.9089, allocations: 8 kB / 1.429 GB, free: 4.805 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.9089, allocations: 15.88 kB / 1.429 GB, free: 4.789 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.9113, allocations: 0.5291 MB / 1.43 GB, free: 4.262 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/0.9146, allocations: 1.128 MB / 1.431 GB, free: 3.082 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.9169, allocations: 442.4 kB / 1.431 GB, free: 2.641 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.918, allocations: 212.7 kB / 1.432 GB, free: 2.43 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.9181, allocations: 12.39 kB / 1.432 GB, free: 2.418 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.9181, allocations: 34.5 kB / 1.432 GB, free: 2.375 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.9181, allocations: 0 / 1.432 GB, free: 2.375 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.01629/0.9344, allocations: 1.733 MB / 1.433 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.9344, allocations: 51.41 kB / 1.433 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.9348, allocations: 312.5 kB / 1.434 GB, free: 228 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.9349, allocations: 29.7 kB / 1.434 GB, free: 192 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.935, allocations: 168.4 kB / 1.434 GB, free: 20 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.9351, allocations: 95.39 kB / 1.434 GB, free: 15.92 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.9353, allocations: 73.92 kB / 1.434 GB, free: 15.84 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.9355, allocations: 342.6 kB / 1.434 GB, free: 15.5 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.9366, allocations: 208.4 kB / 1.435 GB, free: 15.3 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.9377, allocations: 255 kB / 1.435 GB, free: 15.03 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.9398, allocations: 434.8 kB / 1.435 GB, free: 14.59 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.9398, allocations: 0 / 1.435 GB, free: 14.59 MB / 1.139 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007234/0.9471, allocations: 0.889 MB / 1.436 GB, free: 13.69 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.9471, allocations: 11.94 kB / 1.436 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.9471, allocations: 0 / 1.436 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/0.949, allocations: 281.4 kB / 1.436 GB, free: 13.4 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.9495, allocations: 67.83 kB / 1.436 GB, free: 13.33 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/0.9647, allocations: 4.1 MB / 1.44 GB, free: 8.949 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/0.9656, allocations: 75.77 kB / 1.441 GB, free: 8.875 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.9656, allocations: 15.97 kB / 1.441 GB, free: 8.859 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.0002185/0.9658, allocations: 145.7 kB / 1.441 GB, free: 8.707 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.265e-05/0.9659, allocations: 35.81 kB / 1.441 GB, free: 8.672 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007419/0.9734, allocations: 0.9468 MB / 1.442 GB, free: 7.715 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.9734, allocations: 0 / 1.442 GB, free: 7.715 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.9734, allocations: 0 / 1.442 GB, free: 7.715 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.9734, allocations: 7.984 kB / 1.442 GB, free: 7.707 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.974, allocations: 428.6 kB / 1.442 GB, free: 7.238 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.974, allocations: 3.984 kB / 1.442 GB, free: 7.234 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/0.9745, allocations: 55.89 kB / 1.442 GB, free: 7.18 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/0.9763, allocations: 277.4 kB / 1.442 GB, free: 6.902 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.9764, allocations: 15.97 kB / 1.442 GB, free: 6.887 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01994/0.9963, allocations: 4.084 MB / 1.446 GB, free: 2.512 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9963, allocations: 0 / 1.446 GB, free: 2.512 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/1.008, allocations: 0.962 MB / 1.447 GB, free: 1.527 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/1.008, allocations: 108.8 kB / 1.447 GB, free: 1.402 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/1.008, allocations: 4 kB / 1.447 GB, free: 1.398 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.009, allocations: 47.95 kB / 1.447 GB, free: 1.352 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.009, allocations: 27.89 kB / 1.448 GB, free: 1.324 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-05/1.01, allocations: 11.97 kB / 1.448 GB, free: 1.312 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004484/1.01, allocations: 227.1 kB / 1.448 GB, free: 1.094 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.3e-07/1.01, allocations: 0 / 1.448 GB, free: 1.094 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001083/1.011, allocations: 119.8 kB / 1.448 GB, free: 0.9766 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.0003569/1.011, allocations: 131 kB / 1.448 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005274/1.017, allocations: 0.7159 MB / 1.449 GB, free: 100 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/1.017, allocations: 0 / 1.449 GB, free: 100 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003071/1.02, allocations: 493.2 kB / 1.449 GB, free: 15.59 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/1.021, allocations: 114.9 kB / 1.449 GB, free: 15.48 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/1.026, allocations: 0.6936 MB / 1.45 GB, free: 14.77 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/1.026, allocations: 0.7645 MB / 1.451 GB, free: 13.98 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007155/1.027, allocations: 82.86 kB / 1.451 GB, free: 13.89 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/1.027, allocations: 31.42 kB / 1.451 GB, free: 13.86 MB / 1.154 GB Notification: Performance of SimCode: time 8.12e-07/1.027, allocations: 4 kB / 1.451 GB, free: 13.86 MB / 1.154 GB Notification: Performance of Templates: time 0.04178/1.069, allocations: 13.88 MB / 1.464 GB, free: 40 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 gbode -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.132861313875765]