Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001563/0.001563, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002287/0.002287, allocations: 215.8 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.175/3.175, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002098/0.002098, allocations: 63.3 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3563, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003798/0.3601, allocations: 2.352 MB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1915/0.5516, allocations: 155.4 MB / 1.508 GB, free: 9.602 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.5518, allocations: 7.938 kB / 1.508 GB, free: 9.594 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.5521, allocations: 51.45 kB / 1.508 GB, free: 9.543 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.5524, allocations: 95.2 kB / 1.508 GB, free: 9.449 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.5532, allocations: 307 kB / 1.509 GB, free: 9.148 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004833/0.5537, allocations: 427.7 kB / 1.509 GB, free: 8.727 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.5539, allocations: 85.33 kB / 1.509 GB, free: 8.645 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.5554, allocations: 299.3 kB / 1.509 GB, free: 8.379 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.5557, allocations: 179.3 kB / 1.509 GB, free: 8.203 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.5557, allocations: 32 kB / 1.51 GB, free: 8.172 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/0.5563, allocations: 287.6 kB / 1.51 GB, free: 7.891 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.5564, allocations: 75.75 kB / 1.51 GB, free: 7.816 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.5566, allocations: 167.2 kB / 1.51 GB, free: 7.652 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0006725/0.5572, allocations: 0.498 MB / 1.51 GB, free: 7.152 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5572, allocations: 0 / 1.51 GB, free: 7.152 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5572, allocations: 0 / 1.51 GB, free: 7.152 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.5572, allocations: 4 kB / 1.51 GB, free: 7.148 MB / 1.201 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.001481/0.5587, allocations: 0.6375 MB / 1.511 GB, free: 6.48 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.5588, allocations: 8.031 kB / 1.511 GB, free: 6.473 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/0.5622, allocations: 315.6 kB / 1.511 GB, free: 6.164 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.5627, allocations: 245.6 kB / 1.512 GB, free: 5.898 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.5627, allocations: 20.66 kB / 1.512 GB, free: 5.879 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.748e-05/0.5628, allocations: 24 kB / 1.512 GB, free: 5.855 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.5643, allocations: 445.7 kB / 1.512 GB, free: 5.41 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5643, allocations: 0 / 1.512 GB, free: 5.41 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.5644, allocations: 12 kB / 1.512 GB, free: 5.398 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.5644, allocations: 15.92 kB / 1.512 GB, free: 5.383 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/0.5667, allocations: 0.5256 MB / 1.513 GB, free: 4.859 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.5701, allocations: 1.112 MB / 1.514 GB, free: 3.703 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.5724, allocations: 454.9 kB / 1.514 GB, free: 3.25 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.5735, allocations: 217.1 kB / 1.514 GB, free: 3.035 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.8e-05/0.5736, allocations: 7.984 kB / 1.514 GB, free: 3.027 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.5736, allocations: 38.5 kB / 1.514 GB, free: 2.98 MB / 1.201 GB Notification: Performance of pre-optimization done (n=25): time 1.993e-06/0.5736, allocations: 0 / 1.514 GB, free: 2.98 MB / 1.201 GB Notification: Performance of matching and sorting (n=25): time 0.01686/0.5904, allocations: 1.595 MB / 1.516 GB, free: 1.371 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.5905, allocations: 51.41 kB / 1.516 GB, free: 1.309 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.5909, allocations: 308.6 kB / 1.516 GB, free: 1 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.591, allocations: 29.7 kB / 1.516 GB, free: 0.9648 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.5911, allocations: 164.5 kB / 1.517 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.5912, allocations: 91.22 kB / 1.517 GB, free: 0.707 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.5914, allocations: 77.88 kB / 1.517 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5915, allocations: 346.8 kB / 1.517 GB, free: 280 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.5926, allocations: 204.4 kB / 1.517 GB, free: 76 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.5938, allocations: 263 kB / 1.517 GB, free: 15.79 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.5959, allocations: 438.3 kB / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.5959, allocations: 3.984 kB / 1.518 GB, free: 15.35 MB / 1.217 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007205/0.6031, allocations: 0.9011 MB / 1.519 GB, free: 14.44 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.6032, allocations: 8 kB / 1.519 GB, free: 14.43 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6032, allocations: 0 / 1.519 GB, free: 14.43 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/0.6051, allocations: 277.4 kB / 1.519 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005394/0.6056, allocations: 67.88 kB / 1.519 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/0.6206, allocations: 3.877 MB / 1.523 GB, free: 9.98 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009139/0.6215, allocations: 75.72 kB / 1.523 GB, free: 9.906 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.6216, allocations: 23.97 kB / 1.523 GB, free: 9.883 MB / 1.217 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.0002207/0.6218, allocations: 137.8 kB / 1.523 GB, free: 9.738 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.6219, allocations: 39.78 kB / 1.523 GB, free: 9.699 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007453/0.6294, allocations: 0.9469 MB / 1.524 GB, free: 8.742 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6294, allocations: 4 kB / 1.524 GB, free: 8.738 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.6294, allocations: 0 / 1.524 GB, free: 8.738 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6294, allocations: 3.984 kB / 1.524 GB, free: 8.734 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007895/0.6373, allocations: 1.335 MB / 1.525 GB, free: 7.336 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.6373, allocations: 4 kB / 1.525 GB, free: 7.332 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.6378, allocations: 55.95 kB / 1.525 GB, free: 7.277 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.6396, allocations: 273.4 kB / 1.526 GB, free: 7.004 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.764e-05/0.6397, allocations: 19.91 kB / 1.526 GB, free: 6.984 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01503/0.6547, allocations: 3.881 MB / 1.53 GB, free: 2.867 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6547, allocations: 3.938 kB / 1.53 GB, free: 2.863 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007146/0.6619, allocations: 0.9747 MB / 1.53 GB, free: 1.859 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 9.772e-05/0.662, allocations: 35.7 kB / 1.531 GB, free: 1.824 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/0.662, allocations: 11.98 kB / 1.531 GB, free: 1.812 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000786/0.6628, allocations: 43.95 kB / 1.531 GB, free: 1.77 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.151e-05/0.6629, allocations: 19.97 kB / 1.531 GB, free: 1.75 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.663, allocations: 15.97 kB / 1.531 GB, free: 1.734 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002578/0.6632, allocations: 223.1 kB / 1.531 GB, free: 1.516 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6632, allocations: 0 / 1.531 GB, free: 1.516 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000599/0.6638, allocations: 111.9 kB / 1.531 GB, free: 1.406 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.000222/0.664, allocations: 119.1 kB / 1.531 GB, free: 1.281 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002881/0.6669, allocations: 0.7155 MB / 1.532 GB, free: 0.5391 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6669, allocations: 0 / 1.532 GB, free: 0.5391 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.6685, allocations: 0.4944 MB / 1.532 GB, free: 20 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.6692, allocations: 121.2 kB / 1.532 GB, free: 15.9 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.6724, allocations: 0.797 MB / 1.533 GB, free: 15.07 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.6728, allocations: 0.7645 MB / 1.534 GB, free: 14.28 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.673, allocations: 43.41 kB / 1.534 GB, free: 14.24 MB / 1.232 GB Notification: Performance of SimCode: time 7.81e-07/0.673, allocations: 0 / 1.534 GB, free: 14.24 MB / 1.232 GB Notification: Performance of Templates: time 0.01236/0.6854, allocations: 8.325 MB / 1.542 GB, free: 5.926 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.447495928005083]