Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 110.7 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001475, allocations: 63.89 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.056, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003499/1.06, allocations: 2.296 MB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2079/1.268, allocations: 152 MB / 1.239 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/1.268, allocations: 7.281 kB / 1.239 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003005/1.269, allocations: 49.86 kB / 1.239 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006298/1.269, allocations: 103.7 kB / 1.239 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/1.27, allocations: 306.5 kB / 1.24 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000709/1.271, allocations: 428 kB / 1.24 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/1.271, allocations: 108.6 kB / 1.24 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/1.273, allocations: 289.6 kB / 1.241 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/1.273, allocations: 181.3 kB / 1.241 GB, free: 468 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.208e-05/1.274, allocations: 34.72 kB / 1.241 GB, free: 464 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007341/1.274, allocations: 278.7 kB / 1.241 GB, free: 332 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/1.274, allocations: 78.78 kB / 1.241 GB, free: 264 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000262/1.275, allocations: 163.3 kB / 1.241 GB, free: 148 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009416/1.276, allocations: 0.4895 MB / 1.242 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.276, allocations: 0 / 1.242 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.674e-06/1.276, allocations: 0 / 1.242 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.991e-05/1.276, allocations: 1.375 kB / 1.242 GB, free: 15.82 MB / 0.9825 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.001757/1.277, allocations: 0.7065 MB / 1.242 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.277, allocations: 9.844 kB / 1.242 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002848/1.28, allocations: 261.3 kB / 1.243 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/1.281, allocations: 309.1 kB / 1.243 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/1.281, allocations: 19.84 kB / 1.243 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/1.281, allocations: 26.12 kB / 1.243 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/1.283, allocations: 431 kB / 1.243 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.283, allocations: 0 / 1.243 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/1.283, allocations: 10.84 kB / 1.243 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/1.283, allocations: 10.22 kB / 1.243 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/1.285, allocations: 0.5292 MB / 1.244 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003357/1.288, allocations: 1.123 MB / 1.245 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/1.291, allocations: 451.2 kB / 1.245 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/1.292, allocations: 236.7 kB / 1.246 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/1.292, allocations: 4.391 kB / 1.246 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/1.292, allocations: 38.5 kB / 1.246 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 2.214e-06/1.292, allocations: 4 kB / 1.246 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.0161/1.308, allocations: 1.731 MB / 1.247 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/1.308, allocations: 59.34 kB / 1.247 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/1.308, allocations: 308.4 kB / 1.248 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.419e-05/1.308, allocations: 29.7 kB / 1.248 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/1.309, allocations: 176.2 kB / 1.248 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/1.309, allocations: 82.75 kB / 1.248 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/1.309, allocations: 77.92 kB / 1.248 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.309, allocations: 342.7 kB / 1.248 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/1.31, allocations: 200.4 kB / 1.249 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.311, allocations: 259 kB / 1.249 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/1.313, allocations: 434.8 kB / 1.249 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.313, allocations: 0 / 1.249 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006934/1.32, allocations: 0.8888 MB / 1.25 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/1.32, allocations: 8 kB / 1.25 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.32, allocations: 0 / 1.25 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/1.322, allocations: 277.4 kB / 1.25 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/1.323, allocations: 75.88 kB / 1.25 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/1.338, allocations: 4.088 MB / 1.254 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009435/1.339, allocations: 75.55 kB / 1.255 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.339, allocations: 15.97 kB / 1.255 GB, free: 3.215 MB / 0.9825 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.0002917/1.339, allocations: 142.9 kB / 1.255 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/1.339, allocations: 35.56 kB / 1.255 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007176/1.346, allocations: 0.9495 MB / 1.256 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.346, allocations: 8 kB / 1.256 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.346, allocations: 0 / 1.256 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.346, allocations: 3.984 kB / 1.256 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006865/1.347, allocations: 432.6 kB / 1.256 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.347, allocations: 0 / 1.256 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/1.348, allocations: 51.95 kB / 1.256 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/1.349, allocations: 281.3 kB / 1.256 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/1.349, allocations: 15.97 kB / 1.256 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/1.364, allocations: 4.08 MB / 1.26 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.364, allocations: 0 / 1.26 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007023/1.371, allocations: 0.9608 MB / 1.261 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/1.371, allocations: 108.7 kB / 1.261 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.436e-05/1.371, allocations: 8 kB / 1.261 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008005/1.372, allocations: 43.95 kB / 1.262 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.372, allocations: 23.97 kB / 1.262 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/1.372, allocations: 19.84 kB / 1.262 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002736/1.373, allocations: 227.1 kB / 1.262 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.373, allocations: 0 / 1.262 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006763/1.373, allocations: 111.9 kB / 1.262 GB, free: 11.34 MB / 0.9981 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.0002681/1.374, allocations: 119.2 kB / 1.262 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002826/1.376, allocations: 0.7314 MB / 1.263 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.376, allocations: 0 / 1.263 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/1.378, allocations: 0.505 MB / 1.263 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/1.379, allocations: 109.2 kB / 1.263 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/1.381, allocations: 0.7075 MB / 1.264 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/1.382, allocations: 0.7684 MB / 1.265 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/1.382, allocations: 39.42 kB / 1.265 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.382, allocations: 0 / 1.265 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of Templates: time 0.01268/1.395, allocations: 8.326 MB / 1.273 GB, free: 15.94 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches