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.002365/0.002365, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002784/0.002784, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.579/1.579, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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.381/3.381, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.514e-05, allocations: 3.188 kB / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004426/0.004452, allocations: 2.267 MB / 0.8796 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2012/0.2057, allocations: 147.6 MB / 1.024 GB, free: 296 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.2059, allocations: 7.938 kB / 1.024 GB, free: 288 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.2062, allocations: 47.47 kB / 1.024 GB, free: 240 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0004588/0.2066, allocations: 111.1 kB / 1.024 GB, free: 128 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009073/0.2075, allocations: 298.8 kB / 1.024 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006269/0.2082, allocations: 447.5 kB / 1.025 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.2084, allocations: 76.31 kB / 1.025 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.2106, allocations: 421.8 kB / 1.025 GB, free: 14.97 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.2109, allocations: 147.6 kB / 1.025 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.097e-05/0.211, allocations: 28 kB / 1.025 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006584/0.2117, allocations: 271.4 kB / 1.026 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.2118, allocations: 83.7 kB / 1.026 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.212, allocations: 115.7 kB / 1.026 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009932/0.213, allocations: 0.5412 MB / 1.026 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.213, allocations: 0 / 1.026 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.213, allocations: 0 / 1.026 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.213, allocations: 0 / 1.026 GB, free: 13.79 MB / 0.9948 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.001723/0.2147, allocations: 0.7489 MB / 1.027 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2148, allocations: 8.031 kB / 1.027 GB, free: 13 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/0.2177, allocations: 323.2 kB / 1.027 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.2182, allocations: 264.3 kB / 1.028 GB, free: 12.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.2183, allocations: 20.66 kB / 1.028 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.268e-05/0.2183, allocations: 24 kB / 1.028 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.2194, allocations: 401.8 kB / 1.028 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2194, allocations: 0 / 1.028 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.2195, allocations: 8 kB / 1.028 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2195, allocations: 8 kB / 1.028 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.221, allocations: 454.3 kB / 1.028 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.2241, allocations: 1.025 MB / 1.029 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.2256, allocations: 386.9 kB / 1.03 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.2262, allocations: 183.6 kB / 1.03 GB, free: 9.859 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.441e-05/0.2263, allocations: 8 kB / 1.03 GB, free: 9.852 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.2263, allocations: 37.33 kB / 1.03 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.2263, allocations: 0 / 1.03 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.01027/0.2366, allocations: 1.114 MB / 1.031 GB, free: 8.676 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.2366, allocations: 55.41 kB / 1.031 GB, free: 8.609 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.237, allocations: 304.3 kB / 1.031 GB, free: 8.301 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.2371, allocations: 29.7 kB / 1.031 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.2372, allocations: 231.3 kB / 1.032 GB, free: 8.031 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.2374, allocations: 103.2 kB / 1.032 GB, free: 7.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.2376, allocations: 79.58 kB / 1.032 GB, free: 7.84 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002928/0.2379, allocations: 0.5157 MB / 1.032 GB, free: 7.312 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006208/0.2385, allocations: 160.5 kB / 1.033 GB, free: 7.156 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007803/0.2393, allocations: 349.6 kB / 1.033 GB, free: 6.762 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.2405, allocations: 362.9 kB / 1.033 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2405, allocations: 0 / 1.033 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004823/0.2454, allocations: 0.7085 MB / 1.034 GB, free: 5.672 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.2454, allocations: 12 kB / 1.034 GB, free: 5.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.2454, allocations: 0 / 1.034 GB, free: 5.66 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003116/0.2485, allocations: 399 kB / 1.034 GB, free: 5.262 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.249, allocations: 63.89 kB / 1.034 GB, free: 5.199 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.2593, allocations: 4.467 MB / 1.039 GB, free: 500 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.2599, allocations: 39.83 kB / 1.039 GB, free: 460 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.26, allocations: 23.97 kB / 1.039 GB, free: 436 kB / 0.9948 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.0002425/0.2602, allocations: 192.5 kB / 1.039 GB, free: 232 kB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.2603, allocations: 31.86 kB / 1.039 GB, free: 200 kB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005182/0.2655, allocations: 0.7398 MB / 1.04 GB, free: 15.45 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.2655, allocations: 7.984 kB / 1.04 GB, free: 15.44 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2655, allocations: 0 / 1.04 GB, free: 15.44 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2655, allocations: 3.938 kB / 1.04 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/0.2709, allocations: 1.135 MB / 1.041 GB, free: 14.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2709, allocations: 0 / 1.041 GB, free: 14.24 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.2713, allocations: 51.89 kB / 1.041 GB, free: 14.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003002/0.2743, allocations: 403 kB / 1.041 GB, free: 13.79 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.2744, allocations: 15.97 kB / 1.041 GB, free: 13.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009933/0.2843, allocations: 4.452 MB / 1.046 GB, free: 9.066 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2843, allocations: 0 / 1.046 GB, free: 9.066 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004698/0.289, allocations: 0.8377 MB / 1.046 GB, free: 8.191 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.2891, allocations: 23.8 kB / 1.046 GB, free: 8.168 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.2891, allocations: 11.98 kB / 1.046 GB, free: 8.156 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.2896, allocations: 27.98 kB / 1.047 GB, free: 8.129 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.2897, allocations: 19.91 kB / 1.047 GB, free: 8.109 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.729e-05/0.2898, allocations: 23.91 kB / 1.047 GB, free: 8.086 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002115/0.29, allocations: 213.1 kB / 1.047 GB, free: 7.875 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.1e-08/0.29, allocations: 0 / 1.047 GB, free: 7.875 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000603/0.2906, allocations: 123.8 kB / 1.047 GB, free: 7.754 MB / 1.01 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.0002259/0.2908, allocations: 119.2 kB / 1.047 GB, free: 7.629 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002159/0.293, allocations: 0.7665 MB / 1.048 GB, free: 6.824 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.293, allocations: 0 / 1.048 GB, free: 6.824 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.2942, allocations: 0.5814 MB / 1.048 GB, free: 6.203 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.2948, allocations: 98.95 kB / 1.048 GB, free: 6.109 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.2967, allocations: 0.6293 MB / 1.049 GB, free: 5.445 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.2968, allocations: 155.8 kB / 1.049 GB, free: 5.27 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000375/0.2972, allocations: 82.12 kB / 1.049 GB, free: 5.188 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.2974, allocations: 32.48 kB / 1.049 GB, free: 5.156 MB / 1.01 GB Notification: Performance of SimCode: time 7.11e-07/0.2974, allocations: 0 / 1.049 GB, free: 5.156 MB / 1.01 GB Notification: Performance of Templates: time 0.3444/0.6418, allocations: 13.58 MB / 1.063 GB, free: 218.9 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/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: 9.313737650983967]