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.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.001288/0.001288, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001528/0.001528, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.797 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.776/2.776, allocations: 475.9 MB / 0.7699 GB, free: 4.797 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.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_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: 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.002379/0.002379, allocations: 67.23 kB / 1.117 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3397, allocations: 170 MB / 1.283 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004203/0.3439, allocations: 2.19 MB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1763/0.5202, allocations: 133.6 MB / 1.416 GB, free: 3.719 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.5205, allocations: 3.938 kB / 1.416 GB, free: 3.715 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.5208, allocations: 51.45 kB / 1.416 GB, free: 3.664 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0004941/0.5213, allocations: 107.2 kB / 1.416 GB, free: 3.559 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.000944/0.5222, allocations: 303 kB / 1.416 GB, free: 3.262 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006169/0.5228, allocations: 427.7 kB / 1.416 GB, free: 2.844 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.523, allocations: 72.28 kB / 1.417 GB, free: 2.77 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.5248, allocations: 295 kB / 1.417 GB, free: 2.504 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.5251, allocations: 167.3 kB / 1.417 GB, free: 2.34 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.4e-05/0.5251, allocations: 28 kB / 1.417 GB, free: 2.312 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005676/0.5257, allocations: 259.6 kB / 1.417 GB, free: 2.059 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.5258, allocations: 87.72 kB / 1.417 GB, free: 1.973 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.5259, allocations: 139.4 kB / 1.417 GB, free: 1.836 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0007185/0.5267, allocations: 0.4981 MB / 1.418 GB, free: 1.336 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5267, allocations: 0 / 1.418 GB, free: 1.336 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5267, allocations: 0 / 1.418 GB, free: 1.336 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.5267, allocations: 0 / 1.418 GB, free: 1.336 MB / 1.107 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.001452/0.5281, allocations: 0.6375 MB / 1.419 GB, free: 0.668 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.5282, allocations: 8.031 kB / 1.419 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002941/0.5311, allocations: 291.6 kB / 1.419 GB, free: 384 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.5316, allocations: 245.6 kB / 1.419 GB, free: 112 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.5316, allocations: 20.66 kB / 1.419 GB, free: 92 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.5317, allocations: 24 kB / 1.419 GB, free: 68 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.5331, allocations: 433.8 kB / 1.42 GB, free: 15.63 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5332, allocations: 0 / 1.42 GB, free: 15.63 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.5332, allocations: 8 kB / 1.42 GB, free: 15.62 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.5332, allocations: 15.88 kB / 1.42 GB, free: 15.61 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.5355, allocations: 0.5217 MB / 1.42 GB, free: 15.09 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.5387, allocations: 0.9639 MB / 1.421 GB, free: 14.09 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/0.541, allocations: 438.4 kB / 1.421 GB, free: 13.66 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.542, allocations: 216.7 kB / 1.422 GB, free: 13.44 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.542, allocations: 4 kB / 1.422 GB, free: 13.44 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.5421, allocations: 38.55 kB / 1.422 GB, free: 13.39 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 2.064e-06/0.5421, allocations: 0 / 1.422 GB, free: 13.39 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.0156/0.5577, allocations: 1.578 MB / 1.423 GB, free: 11.8 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.5577, allocations: 55.41 kB / 1.423 GB, free: 11.73 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.558, allocations: 217 kB / 1.424 GB, free: 11.51 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.5581, allocations: 33.7 kB / 1.424 GB, free: 11.47 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.5582, allocations: 180.5 kB / 1.424 GB, free: 11.29 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.5583, allocations: 87.23 kB / 1.424 GB, free: 11.2 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.5585, allocations: 81.86 kB / 1.424 GB, free: 11.11 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5586, allocations: 330.8 kB / 1.424 GB, free: 10.78 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.5597, allocations: 200.4 kB / 1.424 GB, free: 10.59 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.5608, allocations: 377.7 kB / 1.425 GB, free: 10.17 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.563, allocations: 427.9 kB / 1.425 GB, free: 9.746 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.563, allocations: 7.938 kB / 1.425 GB, free: 9.738 MB / 1.123 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006859/0.5698, allocations: 0.8851 MB / 1.426 GB, free: 8.84 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5699, allocations: 8 kB / 1.426 GB, free: 8.832 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5699, allocations: 0 / 1.426 GB, free: 8.832 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/0.5718, allocations: 285.3 kB / 1.426 GB, free: 8.547 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.5722, allocations: 63.95 kB / 1.426 GB, free: 8.484 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.5867, allocations: 3.815 MB / 1.43 GB, free: 4.465 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008048/0.5875, allocations: 59.89 kB / 1.43 GB, free: 4.406 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.5875, allocations: 23.97 kB / 1.43 GB, free: 4.383 MB / 1.123 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.0002237/0.5877, allocations: 149.6 kB / 1.43 GB, free: 4.227 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.5878, allocations: 23.86 kB / 1.43 GB, free: 4.203 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006982/0.5948, allocations: 0.9493 MB / 1.431 GB, free: 3.246 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5948, allocations: 0 / 1.431 GB, free: 3.246 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.5948, allocations: 0 / 1.431 GB, free: 3.246 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5948, allocations: 7.984 kB / 1.431 GB, free: 3.238 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.5953, allocations: 293 kB / 1.432 GB, free: 2.922 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5953, allocations: 0 / 1.432 GB, free: 2.922 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/0.5957, allocations: 55.89 kB / 1.432 GB, free: 2.867 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/0.5975, allocations: 289.4 kB / 1.432 GB, free: 2.578 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/0.5976, allocations: 11.98 kB / 1.432 GB, free: 2.566 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/0.6116, allocations: 3.793 MB / 1.436 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6117, allocations: 4.031 kB / 1.436 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006912/0.6186, allocations: 0.9455 MB / 1.437 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-05/0.6186, allocations: 31.73 kB / 1.437 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/0.6187, allocations: 7.938 kB / 1.437 GB, free: 13.55 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007175/0.6194, allocations: 43.95 kB / 1.437 GB, free: 13.51 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.6195, allocations: 19.95 kB / 1.437 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.6196, allocations: 19.97 kB / 1.437 GB, free: 13.47 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001731/0.6197, allocations: 164.5 kB / 1.437 GB, free: 13.32 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6197, allocations: 0 / 1.437 GB, free: 13.32 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006169/0.6203, allocations: 119.8 kB / 1.437 GB, free: 13.2 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.0002346/0.6206, allocations: 119.9 kB / 1.437 GB, free: 13.07 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002895/0.6235, allocations: 0.7155 MB / 1.438 GB, free: 12.33 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6235, allocations: 0 / 1.438 GB, free: 12.33 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.625, allocations: 493.2 kB / 1.438 GB, free: 11.82 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.6256, allocations: 82.42 kB / 1.438 GB, free: 11.75 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.6282, allocations: 0.6791 MB / 1.439 GB, free: 11.04 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.6284, allocations: 163.7 kB / 1.439 GB, free: 10.86 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003562/0.6287, allocations: 70.2 kB / 1.439 GB, free: 10.79 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.6288, allocations: 31.36 kB / 1.439 GB, free: 10.76 MB / 1.139 GB Notification: Performance of SimCode: time 6.91e-07/0.6288, allocations: 0 / 1.439 GB, free: 10.76 MB / 1.139 GB Notification: Performance of Templates: time 0.02091/0.6497, allocations: 13.77 MB / 1.453 GB, free: 13.11 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.427015418186784]