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.001459/0.001459, allocations: 110 kB / 18.93 MB, free: 2.945 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.001471/0.001471, allocations: 185.8 kB / 22.23 MB, free: 5.16 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.408/1.408, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.7 MB / 0.7646 GB, free: 9.848 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002094/0.002094, allocations: 71.89 kB / 1.109 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7986/0.8007, allocations: 168.8 MB / 1.274 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003716/0.8044, allocations: 2.336 MB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1809/0.9852, allocations: 152.5 MB / 1.426 GB, free: 8.746 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/0.9855, allocations: 7.938 kB / 1.426 GB, free: 8.738 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.9857, allocations: 39.47 kB / 1.426 GB, free: 8.699 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.9861, allocations: 99.19 kB / 1.426 GB, free: 8.602 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008554/0.987, allocations: 310.9 kB / 1.426 GB, free: 8.297 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.9875, allocations: 435.6 kB / 1.426 GB, free: 7.867 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.9877, allocations: 75.94 kB / 1.426 GB, free: 7.793 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.9893, allocations: 301 kB / 1.427 GB, free: 7.523 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.9895, allocations: 175.3 kB / 1.427 GB, free: 7.352 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.9896, allocations: 35.94 kB / 1.427 GB, free: 7.316 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005522/0.9901, allocations: 283.6 kB / 1.427 GB, free: 7.039 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 8.956e-05/0.9902, allocations: 71.75 kB / 1.427 GB, free: 6.969 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.9904, allocations: 171.2 kB / 1.427 GB, free: 6.801 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007069/0.9911, allocations: 492.9 kB / 1.428 GB, free: 6.32 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.9911, allocations: 3.938 kB / 1.428 GB, free: 6.316 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9911, allocations: 0 / 1.428 GB, free: 6.316 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.9911, allocations: 4 kB / 1.428 GB, free: 6.312 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.9926, allocations: 0.6453 MB / 1.429 GB, free: 5.637 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.9927, allocations: 11.97 kB / 1.429 GB, free: 5.625 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002795/0.9955, allocations: 259.7 kB / 1.429 GB, free: 5.371 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.9959, allocations: 237.6 kB / 1.429 GB, free: 5.113 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.9959, allocations: 20.66 kB / 1.429 GB, free: 5.094 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.996, allocations: 35.94 kB / 1.429 GB, free: 5.059 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.9975, allocations: 429.8 kB / 1.43 GB, free: 4.629 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.9975, allocations: 0 / 1.43 GB, free: 4.629 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.9976, allocations: 12 kB / 1.43 GB, free: 4.617 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.9976, allocations: 7.938 kB / 1.43 GB, free: 4.609 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.9998, allocations: 0.5295 MB / 1.43 GB, free: 4.082 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/1.003, allocations: 1.092 MB / 1.431 GB, free: 2.949 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/1.005, allocations: 458.2 kB / 1.432 GB, free: 2.492 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/1.006, allocations: 212.7 kB / 1.432 GB, free: 2.281 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.856e-05/1.006, allocations: 8.375 kB / 1.432 GB, free: 2.273 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/1.006, allocations: 38.56 kB / 1.432 GB, free: 2.227 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 2.846e-06/1.006, allocations: 3.938 kB / 1.432 GB, free: 2.223 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.01557/1.022, allocations: 1.574 MB / 1.433 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/1.022, allocations: 51.41 kB / 1.433 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/1.022, allocations: 316.5 kB / 1.434 GB, free: 268 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.704e-05/1.023, allocations: 25.7 kB / 1.434 GB, free: 236 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/1.023, allocations: 176.5 kB / 1.434 GB, free: 52 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/1.023, allocations: 83.41 kB / 1.434 GB, free: 15.96 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/1.023, allocations: 73.92 kB / 1.434 GB, free: 15.88 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.023, allocations: 346.5 kB / 1.434 GB, free: 15.54 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/1.024, allocations: 208.4 kB / 1.435 GB, free: 15.34 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/1.025, allocations: 259 kB / 1.435 GB, free: 15.06 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/1.027, allocations: 435.3 kB / 1.435 GB, free: 14.63 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.027, allocations: 0 / 1.435 GB, free: 14.63 MB / 1.139 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007052/1.034, allocations: 0.8968 MB / 1.436 GB, free: 13.72 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.034, allocations: 4 kB / 1.436 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/1.034, allocations: 4 kB / 1.436 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001887/1.036, allocations: 277.4 kB / 1.436 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/1.037, allocations: 71.81 kB / 1.436 GB, free: 13.36 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/1.052, allocations: 3.891 MB / 1.44 GB, free: 9.242 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009219/1.052, allocations: 75.69 kB / 1.44 GB, free: 9.168 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.053, allocations: 19.97 kB / 1.44 GB, free: 9.148 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.0002796/1.053, allocations: 140.4 kB / 1.44 GB, free: 9.004 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/1.053, allocations: 31.81 kB / 1.441 GB, free: 8.973 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007379/1.06, allocations: 0.9503 MB / 1.441 GB, free: 8.012 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/1.06, allocations: 4 kB / 1.441 GB, free: 8.008 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.06, allocations: 3.984 kB / 1.441 GB, free: 8.004 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/1.06, allocations: 0 / 1.441 GB, free: 8.004 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/1.061, allocations: 403.8 kB / 1.442 GB, free: 7.566 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.061, allocations: 0 / 1.442 GB, free: 7.566 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/1.061, allocations: 47.95 kB / 1.442 GB, free: 7.52 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/1.063, allocations: 285.3 kB / 1.442 GB, free: 7.234 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.135e-05/1.063, allocations: 11.97 kB / 1.442 GB, free: 7.223 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/1.078, allocations: 3.886 MB / 1.446 GB, free: 3.102 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.078, allocations: 4.062 kB / 1.446 GB, free: 3.098 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007073/1.085, allocations: 0.9651 MB / 1.447 GB, free: 2.109 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/1.085, allocations: 35.73 kB / 1.447 GB, free: 2.074 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/1.085, allocations: 11.94 kB / 1.447 GB, free: 2.062 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007668/1.086, allocations: 43.95 kB / 1.447 GB, free: 2.02 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/1.086, allocations: 23.91 kB / 1.447 GB, free: 1.996 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/1.086, allocations: 11.97 kB / 1.447 GB, free: 1.984 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002776/1.086, allocations: 227 kB / 1.447 GB, free: 1.762 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.086, allocations: 3.938 kB / 1.447 GB, free: 1.758 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006228/1.087, allocations: 115.9 kB / 1.447 GB, free: 1.645 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.00025/1.087, allocations: 119.2 kB / 1.447 GB, free: 1.52 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002817/1.09, allocations: 0.704 MB / 1.448 GB, free: 0.7891 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.09, allocations: 4.062 kB / 1.448 GB, free: 0.7852 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/1.092, allocations: 497 kB / 1.449 GB, free: 280 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/1.092, allocations: 107.6 kB / 1.449 GB, free: 176 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/1.095, allocations: 0.683 MB / 1.449 GB, free: 15.46 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/1.095, allocations: 0.7723 MB / 1.45 GB, free: 14.67 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000406/1.096, allocations: 82.86 kB / 1.45 GB, free: 14.59 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/1.096, allocations: 35.42 kB / 1.45 GB, free: 14.55 MB / 1.154 GB Notification: Performance of SimCode: time 8.32e-07/1.096, allocations: 0 / 1.45 GB, free: 14.55 MB / 1.154 GB Notification: Performance of Templates: time 0.02623/1.122, allocations: 13.97 MB / 1.464 GB, free: 0.6445 MB / 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.412914119660854]