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.001571/0.001571, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001611/0.001611, allocations: 156.2 kB / 23.01 MB, free: 4.602 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.393/1.393, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.708/2.708, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 59.91 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.729, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002582/0.7316, allocations: 2.19 MB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1501/0.8817, allocations: 133.6 MB / 1.287 GB, free: 5.789 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.8818, allocations: 11.72 kB / 1.287 GB, free: 5.781 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.882, allocations: 48.17 kB / 1.287 GB, free: 5.746 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.8824, allocations: 105.7 kB / 1.287 GB, free: 5.672 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.8831, allocations: 301.3 kB / 1.287 GB, free: 5.523 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.000456/0.8835, allocations: 428.5 kB / 1.287 GB, free: 5.324 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.8837, allocations: 74.75 kB / 1.287 GB, free: 5.285 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.8852, allocations: 288.1 kB / 1.288 GB, free: 5.191 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.8855, allocations: 167.6 kB / 1.288 GB, free: 5.129 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.8856, allocations: 31.59 kB / 1.288 GB, free: 5.129 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004987/0.8861, allocations: 264.1 kB / 1.288 GB, free: 5.066 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.8862, allocations: 83.09 kB / 1.288 GB, free: 5.016 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.8863, allocations: 136 kB / 1.288 GB, free: 4.945 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0006753/0.887, allocations: 0.4968 MB / 1.289 GB, free: 4.75 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.887, allocations: 0.7969 kB / 1.289 GB, free: 4.75 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.423e-06/0.887, allocations: 1 kB / 1.289 GB, free: 4.75 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.887, allocations: 0 / 1.289 GB, free: 4.75 MB / 1.139 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.001496/0.8885, allocations: 0.6421 MB / 1.289 GB, free: 4.301 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.8886, allocations: 8.875 kB / 1.289 GB, free: 4.301 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/0.8917, allocations: 295 kB / 1.29 GB, free: 4.254 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.8922, allocations: 240.8 kB / 1.29 GB, free: 4.062 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.8922, allocations: 21.06 kB / 1.29 GB, free: 4.055 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.8922, allocations: 26.47 kB / 1.29 GB, free: 4.047 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.8937, allocations: 439 kB / 1.29 GB, free: 3.895 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.8937, allocations: 0 / 1.29 GB, free: 3.895 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/0.8938, allocations: 11.59 kB / 1.29 GB, free: 3.887 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.8938, allocations: 10.16 kB / 1.29 GB, free: 3.883 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.8962, allocations: 0.5198 MB / 1.291 GB, free: 3.734 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.8992, allocations: 0.9585 MB / 1.292 GB, free: 3.234 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.9015, allocations: 444.9 kB / 1.292 GB, free: 3.094 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.9026, allocations: 212.4 kB / 1.293 GB, free: 3.031 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.9026, allocations: 7.406 kB / 1.293 GB, free: 3.027 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.9027, allocations: 37.48 kB / 1.293 GB, free: 2.984 MB / 1.139 GB Notification: Performance of pre-optimization done (n=25): time 1.412e-06/0.9027, allocations: 0 / 1.293 GB, free: 2.984 MB / 1.139 GB Notification: Performance of matching and sorting (n=25): time 0.01635/0.919, allocations: 1.574 MB / 1.294 GB, free: 2.652 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.9191, allocations: 55.5 kB / 1.294 GB, free: 2.59 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.9193, allocations: 219.3 kB / 1.294 GB, free: 2.453 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.9193, allocations: 31.11 kB / 1.294 GB, free: 2.418 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.9195, allocations: 183.5 kB / 1.295 GB, free: 2.262 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.9196, allocations: 93.31 kB / 1.295 GB, free: 2.188 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.9198, allocations: 79.3 kB / 1.295 GB, free: 2.145 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.92, allocations: 332.6 kB / 1.295 GB, free: 1.824 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.9211, allocations: 201.3 kB / 1.295 GB, free: 1.77 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.9223, allocations: 367.7 kB / 1.296 GB, free: 1.523 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/0.9245, allocations: 435.8 kB / 1.296 GB, free: 1.344 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.9245, allocations: 5.062 kB / 1.296 GB, free: 1.34 MB / 1.139 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007178/0.9317, allocations: 0.8859 MB / 1.297 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.9317, allocations: 4.875 kB / 1.297 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9317, allocations: 1.156 kB / 1.297 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.9336, allocations: 284.1 kB / 1.297 GB, free: 0.7383 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.9341, allocations: 61.2 kB / 1.297 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/0.9491, allocations: 3.833 MB / 1.301 GB, free: 13.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.9499, allocations: 57.91 kB / 1.301 GB, free: 13.47 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.9499, allocations: 20.12 kB / 1.301 GB, free: 13.46 MB / 1.154 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.0002338/0.9502, allocations: 155 kB / 1.301 GB, free: 13.31 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.192e-05/0.9503, allocations: 27.03 kB / 1.301 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007486/0.9577, allocations: 0.9333 MB / 1.302 GB, free: 12.78 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.9577, allocations: 2.406 kB / 1.302 GB, free: 12.78 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.9577, allocations: 0 / 1.302 GB, free: 12.78 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.9577, allocations: 5.234 kB / 1.302 GB, free: 12.77 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.9582, allocations: 302.3 kB / 1.302 GB, free: 12.53 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.9582, allocations: 0 / 1.302 GB, free: 12.53 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.9586, allocations: 57.98 kB / 1.302 GB, free: 12.51 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001819/0.9604, allocations: 279.1 kB / 1.303 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.9605, allocations: 11.83 kB / 1.303 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/0.9751, allocations: 3.795 MB / 1.306 GB, free: 9.156 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9751, allocations: 4.062 kB / 1.306 GB, free: 9.152 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00711/0.9822, allocations: 0.9514 MB / 1.307 GB, free: 8.609 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.9823, allocations: 27.39 kB / 1.307 GB, free: 8.59 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.9823, allocations: 10.19 kB / 1.307 GB, free: 8.582 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007185/0.983, allocations: 48.28 kB / 1.307 GB, free: 8.559 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.9831, allocations: 14.78 kB / 1.308 GB, free: 8.551 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.9831, allocations: 22.59 kB / 1.308 GB, free: 8.535 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001588/0.9833, allocations: 166.7 kB / 1.308 GB, free: 8.418 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9833, allocations: 0 / 1.308 GB, free: 8.418 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005712/0.9839, allocations: 127.2 kB / 1.308 GB, free: 8.391 MB / 1.154 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.0001886/0.9841, allocations: 119.8 kB / 1.308 GB, free: 8.289 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002824/0.9869, allocations: 0.7131 MB / 1.309 GB, free: 7.816 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9869, allocations: 0 / 1.309 GB, free: 7.816 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.9885, allocations: 0.4884 MB / 1.309 GB, free: 7.449 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.989, allocations: 78.95 kB / 1.309 GB, free: 7.398 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.9916, allocations: 0.6866 MB / 1.31 GB, free: 6.957 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.9917, allocations: 161.1 kB / 1.31 GB, free: 6.836 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003309/0.992, allocations: 68.64 kB / 1.31 GB, free: 6.797 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.9922, allocations: 33.14 kB / 1.31 GB, free: 6.781 MB / 1.154 GB Notification: Performance of SimCode: time 3.51e-07/0.9922, allocations: 0 / 1.31 GB, free: 6.781 MB / 1.154 GB Notification: Performance of Templates: time 0.01973/1.012, allocations: 13.43 MB / 1.323 GB, free: 10.68 MB / 1.17 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 -s ida -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/jenkins1/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: 8.835937800933607]