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.001831/0.001831, allocations: 92.7 kB / 19.44 MB, free: 324 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.002175/0.002175, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.467/1.467, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.304/3.304, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.844e-06/1.844e-06, allocations: 0 / 0.8775 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.763e-05, allocations: 3.906 kB / 0.8775 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004256/0.004284, allocations: 2.201 MB / 0.8797 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1963/0.2006, allocations: 133.6 MB / 1.01 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.2008, allocations: 7.938 kB / 1.01 GB, free: 14.22 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.2011, allocations: 51.45 kB / 1.01 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.2016, allocations: 103.1 kB / 1.01 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008997/0.2025, allocations: 310.7 kB / 1.011 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.000638/0.2031, allocations: 439.5 kB / 1.011 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.2033, allocations: 77.45 kB / 1.011 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.2052, allocations: 419.7 kB / 1.012 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.2055, allocations: 151.5 kB / 1.012 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.708e-05/0.2055, allocations: 32 kB / 1.012 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005823/0.2061, allocations: 271.5 kB / 1.012 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.2062, allocations: 75.72 kB / 1.012 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.2064, allocations: 115.7 kB / 1.012 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0008775/0.2073, allocations: 0.5296 MB / 1.013 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2073, allocations: 4 kB / 1.013 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2073, allocations: 0 / 1.013 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.2073, allocations: 0 / 1.013 GB, free: 11.74 MB / 0.9792 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.001667/0.2089, allocations: 0.6414 MB / 1.013 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.209, allocations: 8.031 kB / 1.013 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00375/0.2127, allocations: 367.2 kB / 1.014 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.2132, allocations: 257.5 kB / 1.014 GB, free: 10.43 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.2133, allocations: 24.66 kB / 1.014 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/0.2133, allocations: 28 kB / 1.014 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.215, allocations: 437.7 kB / 1.014 GB, free: 9.941 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.215, allocations: 0 / 1.014 GB, free: 9.941 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.2151, allocations: 8 kB / 1.014 GB, free: 9.934 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2151, allocations: 8 kB / 1.014 GB, free: 9.926 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.2176, allocations: 0.5216 MB / 1.015 GB, free: 9.406 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.2211, allocations: 0.9609 MB / 1.016 GB, free: 8.414 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.2235, allocations: 454.2 kB / 1.016 GB, free: 7.961 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.2247, allocations: 216.7 kB / 1.016 GB, free: 7.746 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.2247, allocations: 12 kB / 1.016 GB, free: 7.734 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.583e-05/0.2248, allocations: 34.56 kB / 1.017 GB, free: 7.691 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.2248, allocations: 0 / 1.017 GB, free: 7.691 MB / 0.9792 GB Notification: Performance of matching and sorting (n=25): time 0.01705/0.2418, allocations: 1.584 MB / 1.018 GB, free: 6.094 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.2419, allocations: 55.41 kB / 1.018 GB, free: 6.027 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.2422, allocations: 221.7 kB / 1.018 GB, free: 5.801 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/0.2423, allocations: 33.7 kB / 1.018 GB, free: 5.762 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.2424, allocations: 180.5 kB / 1.019 GB, free: 5.582 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.2426, allocations: 99.59 kB / 1.019 GB, free: 5.484 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.2428, allocations: 77.86 kB / 1.019 GB, free: 5.398 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.243, allocations: 334.8 kB / 1.019 GB, free: 5.062 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.2441, allocations: 196.4 kB / 1.019 GB, free: 4.871 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.2454, allocations: 365.8 kB / 1.02 GB, free: 4.469 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.2478, allocations: 447.5 kB / 1.02 GB, free: 4.023 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2478, allocations: 4 kB / 1.02 GB, free: 4.02 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007602/0.2554, allocations: 0.9006 MB / 1.021 GB, free: 3.105 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2554, allocations: 4 kB / 1.021 GB, free: 3.102 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2555, allocations: 8 kB / 1.021 GB, free: 3.094 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004487/0.2599, allocations: 0.5012 MB / 1.021 GB, free: 2.586 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.2605, allocations: 71.86 kB / 1.021 GB, free: 2.516 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/0.2766, allocations: 3.789 MB / 1.025 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/0.2775, allocations: 59.84 kB / 1.025 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/0.2776, allocations: 19.97 kB / 1.025 GB, free: 14.45 MB / 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.0002428/0.2778, allocations: 149.7 kB / 1.025 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.2779, allocations: 31.81 kB / 1.025 GB, free: 14.26 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007681/0.2856, allocations: 0.9449 MB / 1.026 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.2856, allocations: 7.984 kB / 1.026 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2856, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.2856, allocations: 7.922 kB / 1.026 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008084/0.2937, allocations: 1.234 MB / 1.028 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2937, allocations: 0 / 1.028 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.2942, allocations: 55.95 kB / 1.028 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004219/0.2984, allocations: 0.509 MB / 1.028 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/0.2984, allocations: 19.91 kB / 1.028 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/0.3139, allocations: 3.794 MB / 1.032 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3139, allocations: 0 / 1.032 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00734/0.3212, allocations: 0.9861 MB / 1.033 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.3213, allocations: 19.86 kB / 1.033 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/0.3213, allocations: 11.94 kB / 1.033 GB, free: 6.363 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007611/0.3221, allocations: 43.95 kB / 1.033 GB, free: 6.32 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.3222, allocations: 23.95 kB / 1.033 GB, free: 6.297 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/0.3223, allocations: 23.91 kB / 1.033 GB, free: 6.273 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001912/0.3225, allocations: 161.2 kB / 1.033 GB, free: 6.117 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.3225, allocations: 0 / 1.033 GB, free: 6.117 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006359/0.3231, allocations: 119.9 kB / 1.033 GB, free: 6 MB / 0.9948 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.0002489/0.3233, allocations: 111.1 kB / 1.033 GB, free: 5.883 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003075/0.3264, allocations: 0.7135 MB / 1.034 GB, free: 5.145 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3264, allocations: 4 kB / 1.034 GB, free: 5.141 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.3281, allocations: 0.4894 MB / 1.034 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.3287, allocations: 96.77 kB / 1.035 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.3315, allocations: 0.6847 MB / 1.035 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.3317, allocations: 163.5 kB / 1.035 GB, free: 3.629 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004669/0.3322, allocations: 78.2 kB / 1.035 GB, free: 3.551 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.3323, allocations: 32.48 kB / 1.035 GB, free: 3.52 MB / 0.9948 GB Notification: Performance of SimCode: time 5.11e-07/0.3323, allocations: 0 / 1.035 GB, free: 3.52 MB / 0.9948 GB Notification: Performance of Templates: time 0.0223/0.3546, allocations: 13.18 MB / 1.048 GB, free: 6.438 MB / 1.01 GB " [Timeout remaining time 300] 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/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.224567722063512]