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.001876/0.001876, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002201/0.002201, allocations: 218.3 kB / 23.01 MB, free: 4.605 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.605/1.605, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.832/2.832, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] 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.002376/0.002376, allocations: 70.48 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4379, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004252/0.4421, allocations: 2.35 MB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2131/0.6552, allocations: 155.4 MB / 1.439 GB, free: 12.96 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005708/0.6558, allocations: 7.938 kB / 1.439 GB, free: 12.95 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.656, allocations: 43.52 kB / 1.439 GB, free: 12.91 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.000515/0.6566, allocations: 103.1 kB / 1.439 GB, free: 12.81 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.6577, allocations: 310.9 kB / 1.439 GB, free: 12.5 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0005879/0.6583, allocations: 435.7 kB / 1.439 GB, free: 12.08 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.6585, allocations: 68.3 kB / 1.44 GB, free: 12.01 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.6602, allocations: 293.6 kB / 1.44 GB, free: 11.74 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.6605, allocations: 187.2 kB / 1.44 GB, free: 11.56 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.439e-05/0.6606, allocations: 28 kB / 1.44 GB, free: 11.53 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006761/0.6613, allocations: 295.5 kB / 1.44 GB, free: 11.24 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.6614, allocations: 75.75 kB / 1.44 GB, free: 11.17 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.6616, allocations: 159.2 kB / 1.441 GB, free: 11.01 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0007802/0.6623, allocations: 0.4942 MB / 1.441 GB, free: 10.52 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6623, allocations: 3.984 kB / 1.441 GB, free: 10.51 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.355e-06/0.6623, allocations: 0 / 1.441 GB, free: 10.51 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.6624, allocations: 0 / 1.441 GB, free: 10.51 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.001608/0.664, allocations: 0.6414 MB / 1.442 GB, free: 9.84 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.664, allocations: 12.03 kB / 1.442 GB, free: 9.828 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003091/0.6671, allocations: 287.6 kB / 1.442 GB, free: 9.547 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.6676, allocations: 241.6 kB / 1.442 GB, free: 9.285 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.6676, allocations: 20.66 kB / 1.442 GB, free: 9.266 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.6677, allocations: 32 kB / 1.442 GB, free: 9.234 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.6692, allocations: 429.8 kB / 1.443 GB, free: 8.805 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.6692, allocations: 0 / 1.443 GB, free: 8.805 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.793e-05/0.6693, allocations: 12 kB / 1.443 GB, free: 8.793 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.6693, allocations: 7.938 kB / 1.443 GB, free: 8.785 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/0.6716, allocations: 0.5294 MB / 1.443 GB, free: 8.258 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.6749, allocations: 1.107 MB / 1.444 GB, free: 7.105 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.6771, allocations: 440.5 kB / 1.445 GB, free: 6.668 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.6782, allocations: 212.7 kB / 1.445 GB, free: 6.457 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.6782, allocations: 8.391 kB / 1.445 GB, free: 6.449 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.6782, allocations: 38.5 kB / 1.445 GB, free: 6.402 MB / 1.139 GB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.6783, allocations: 0 / 1.445 GB, free: 6.402 MB / 1.139 GB Notification: Performance of matching and sorting (n=25): time 0.01577/0.694, allocations: 1.59 MB / 1.446 GB, free: 4.801 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.6941, allocations: 55.41 kB / 1.447 GB, free: 4.734 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004779/0.6946, allocations: 308.5 kB / 1.447 GB, free: 4.426 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.6946, allocations: 29.7 kB / 1.447 GB, free: 4.391 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.6948, allocations: 176.5 kB / 1.447 GB, free: 4.211 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.6949, allocations: 83.22 kB / 1.447 GB, free: 4.129 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.6951, allocations: 77.92 kB / 1.447 GB, free: 4.043 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.6953, allocations: 342.7 kB / 1.447 GB, free: 3.699 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.6963, allocations: 204.4 kB / 1.448 GB, free: 3.5 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.6975, allocations: 262.9 kB / 1.448 GB, free: 3.223 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.6996, allocations: 430.8 kB / 1.448 GB, free: 2.793 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.6996, allocations: 0 / 1.448 GB, free: 2.793 MB / 1.139 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006984/0.7066, allocations: 0.8929 MB / 1.449 GB, free: 1.887 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.7066, allocations: 4 kB / 1.449 GB, free: 1.883 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7066, allocations: 4 kB / 1.449 GB, free: 1.879 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.7085, allocations: 293.2 kB / 1.449 GB, free: 1.586 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.709, allocations: 59.95 kB / 1.45 GB, free: 1.527 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/0.7241, allocations: 3.896 MB / 1.453 GB, free: 13.4 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009859/0.7251, allocations: 79.67 kB / 1.453 GB, free: 13.32 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.7252, allocations: 19.97 kB / 1.453 GB, free: 13.3 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.0002845/0.7255, allocations: 141.7 kB / 1.454 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-05/0.7256, allocations: 35.77 kB / 1.454 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007302/0.7329, allocations: 0.9426 MB / 1.455 GB, free: 12.17 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.7329, allocations: 4 kB / 1.455 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7329, allocations: 3.938 kB / 1.455 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.7329, allocations: 0 / 1.455 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007377/0.7336, allocations: 396.2 kB / 1.455 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7336, allocations: 0 / 1.455 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.7341, allocations: 55.88 kB / 1.455 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/0.7359, allocations: 281.4 kB / 1.455 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/0.736, allocations: 15.97 kB / 1.455 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/0.751, allocations: 3.862 MB / 1.459 GB, free: 7.281 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.751, allocations: 8.047 kB / 1.459 GB, free: 7.273 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007124/0.7582, allocations: 0.9612 MB / 1.46 GB, free: 6.289 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.7583, allocations: 35.7 kB / 1.46 GB, free: 6.254 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.435e-05/0.7584, allocations: 11.98 kB / 1.46 GB, free: 6.242 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007537/0.7591, allocations: 47.94 kB / 1.46 GB, free: 6.195 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.7593, allocations: 23.91 kB / 1.46 GB, free: 6.172 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.7593, allocations: 15.91 kB / 1.46 GB, free: 6.156 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003047/0.7596, allocations: 223.1 kB / 1.46 GB, free: 5.938 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7596, allocations: 0 / 1.46 GB, free: 5.938 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006608/0.7603, allocations: 119.9 kB / 1.46 GB, free: 5.82 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.0002414/0.7605, allocations: 126 kB / 1.461 GB, free: 5.691 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002922/0.7634, allocations: 0.712 MB / 1.461 GB, free: 4.953 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7634, allocations: 4.062 kB / 1.461 GB, free: 4.949 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.765, allocations: 493 kB / 1.462 GB, free: 4.441 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006944/0.7657, allocations: 101.3 kB / 1.462 GB, free: 4.344 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.7685, allocations: 0.7236 MB / 1.463 GB, free: 3.59 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.769, allocations: 0.7684 MB / 1.463 GB, free: 2.797 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.7692, allocations: 39.41 kB / 1.463 GB, free: 2.758 MB / 1.154 GB Notification: Performance of SimCode: time 8.51e-07/0.7692, allocations: 0 / 1.463 GB, free: 2.758 MB / 1.154 GB Notification: Performance of Templates: time 0.01342/0.7826, allocations: 8.343 MB / 1.471 GB, free: 10.44 MB / 1.17 GB " [Timeout remaining time 298] 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/jenkins1/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: 13.633542775001843]