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.001495/0.001495, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001852/0.001852, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.392/2.392, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.8582, allocations: 140.4 MB / 0.9489 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003369/0.8616, allocations: 2.358 MB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1918/1.053, allocations: 149.7 MB / 1.097 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003883/1.054, allocations: 4 kB / 1.097 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002319/1.054, allocations: 35.66 kB / 1.097 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003803/1.055, allocations: 83.39 kB / 1.098 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008559/1.055, allocations: 263.2 kB / 1.098 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004426/1.056, allocations: 407.8 kB / 1.098 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/1.056, allocations: 97.69 kB / 1.098 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/1.058, allocations: 262.6 kB / 1.099 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/1.058, allocations: 175.2 kB / 1.099 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.929e-05/1.058, allocations: 20 kB / 1.099 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005443/1.059, allocations: 275.5 kB / 1.099 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/1.059, allocations: 59.75 kB / 1.099 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001494/1.059, allocations: 155.2 kB / 1.099 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005128/1.06, allocations: 462.6 kB / 1.1 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.06, allocations: 0 / 1.1 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.01e-07/1.06, allocations: 0 / 1.1 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.471e-06/1.06, allocations: 4 kB / 1.1 GB, free: 7.273 MB / 0.8575 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.001553/1.061, allocations: 0.7056 MB / 1.1 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.061, allocations: 8.031 kB / 1.1 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/1.064, allocations: 259.4 kB / 1.101 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/1.065, allocations: 303.2 kB / 1.101 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/1.065, allocations: 20.56 kB / 1.101 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/1.065, allocations: 24 kB / 1.101 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/1.066, allocations: 432.5 kB / 1.101 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.066, allocations: 0 / 1.101 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/1.066, allocations: 12 kB / 1.101 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/1.066, allocations: 7.938 kB / 1.101 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/1.069, allocations: 0.5251 MB / 1.102 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003094/1.072, allocations: 1.132 MB / 1.103 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/1.074, allocations: 462.4 kB / 1.103 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/1.075, allocations: 220.7 kB / 1.104 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/1.075, allocations: 12.36 kB / 1.104 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/1.075, allocations: 46.5 kB / 1.104 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 2.093e-06/1.075, allocations: 0 / 1.104 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.01607/1.092, allocations: 1.72 MB / 1.105 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/1.092, allocations: 51.41 kB / 1.105 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/1.092, allocations: 308.5 kB / 1.106 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.543e-05/1.092, allocations: 33.7 kB / 1.106 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/1.092, allocations: 172.2 kB / 1.106 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/1.092, allocations: 82.77 kB / 1.106 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/1.093, allocations: 81.75 kB / 1.106 GB, free: 456 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.093, allocations: 346.8 kB / 1.106 GB, free: 100 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/1.094, allocations: 200.4 kB / 1.107 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/1.095, allocations: 259 kB / 1.107 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/1.097, allocations: 438.7 kB / 1.107 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.097, allocations: 0 / 1.107 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007311/1.105, allocations: 0.8966 MB / 1.108 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.105, allocations: 7.938 kB / 1.108 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.105, allocations: 0 / 1.108 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/1.107, allocations: 281.4 kB / 1.108 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/1.107, allocations: 63.94 kB / 1.108 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/1.121, allocations: 3.792 MB / 1.112 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009809/1.122, allocations: 71.64 kB / 1.112 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/1.123, allocations: 19.97 kB / 1.112 GB, free: 9.785 MB / 0.8731 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.000316/1.123, allocations: 141.7 kB / 1.112 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/1.123, allocations: 39.53 kB / 1.112 GB, free: 9.598 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007611/1.131, allocations: 0.9496 MB / 1.113 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/1.131, allocations: 0 / 1.113 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.131, allocations: 3.938 kB / 1.113 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.131, allocations: 7.984 kB / 1.113 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/1.131, allocations: 428.8 kB / 1.114 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/1.131, allocations: 0 / 1.114 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/1.132, allocations: 51.95 kB / 1.114 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/1.134, allocations: 281.3 kB / 1.114 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/1.134, allocations: 15.97 kB / 1.114 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/1.148, allocations: 3.778 MB / 1.118 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.148, allocations: 0 / 1.118 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007434/1.155, allocations: 0.9609 MB / 1.119 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/1.156, allocations: 108.7 kB / 1.119 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.156, allocations: 4 kB / 1.119 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/1.157, allocations: 51.89 kB / 1.119 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.157, allocations: 23.91 kB / 1.119 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/1.157, allocations: 15.97 kB / 1.119 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002662/1.157, allocations: 231 kB / 1.119 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.157, allocations: 0 / 1.119 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006322/1.158, allocations: 112 kB / 1.119 GB, free: 2.227 MB / 0.8731 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.0002127/1.158, allocations: 116.5 kB / 1.119 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002768/1.161, allocations: 0.7195 MB / 1.12 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.161, allocations: 0 / 1.12 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/1.162, allocations: 0.4972 MB / 1.121 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/1.163, allocations: 97.23 kB / 1.121 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/1.166, allocations: 0.7841 MB / 1.121 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/1.166, allocations: 0.7645 MB / 1.122 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005115/1.167, allocations: 82.88 kB / 1.122 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/1.167, allocations: 31.42 kB / 1.122 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of SimCode: time 4.31e-07/1.167, allocations: 3.938 kB / 1.122 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of Templates: time 0.02186/1.189, allocations: 12.98 MB / 1.135 GB, free: 2.102 MB / 0.8887 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches