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.001538/0.001538, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001762/0.001762, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.58/2.58, allocations: 390.3 MB / 0.665 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 61.25 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3331, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004075/0.3372, allocations: 2.344 MB / 0.9521 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.763/1.1, allocations: 149.8 MB / 1.098 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/1.101, allocations: 4.812 kB / 1.098 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000235/1.101, allocations: 32.55 kB / 1.098 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004393/1.101, allocations: 88.19 kB / 1.098 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/1.102, allocations: 269.6 kB / 1.099 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007003/1.103, allocations: 428.2 kB / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005083/1.104, allocations: 114.6 kB / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/1.107, allocations: 276.2 kB / 1.1 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006133/1.108, allocations: 182.7 kB / 1.1 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/1.108, allocations: 32.02 kB / 1.1 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/1.109, allocations: 282.2 kB / 1.1 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002039/1.109, allocations: 84.83 kB / 1.1 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005106/1.11, allocations: 165.1 kB / 1.1 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/1.111, allocations: 347.8 kB / 1.101 GB, free: 6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.111, allocations: 1.219 kB / 1.101 GB, free: 6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.494e-06/1.111, allocations: 0 / 1.101 GB, free: 6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.647e-05/1.111, allocations: 0 / 1.101 GB, free: 6 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.002651/1.114, allocations: 0.7032 MB / 1.101 GB, free: 21.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/1.114, allocations: 10.72 kB / 1.101 GB, free: 21.52 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004129/1.118, allocations: 266.1 kB / 1.102 GB, free: 21.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/1.119, allocations: 290 kB / 1.102 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/1.119, allocations: 18.59 kB / 1.102 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/1.119, allocations: 31.14 kB / 1.102 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/1.121, allocations: 428.2 kB / 1.102 GB, free: 21.22 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/1.121, allocations: 3.266 kB / 1.102 GB, free: 21.22 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/1.121, allocations: 10.41 kB / 1.102 GB, free: 21.22 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/1.121, allocations: 10.47 kB / 1.102 GB, free: 21.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/1.125, allocations: 0.5264 MB / 1.103 GB, free: 21.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/1.129, allocations: 1.129 MB / 1.104 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/1.132, allocations: 459 kB / 1.104 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/1.134, allocations: 234.6 kB / 1.105 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.513e-05/1.134, allocations: 7.625 kB / 1.105 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/1.134, allocations: 34.98 kB / 1.105 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 2.214e-06/1.134, allocations: 0 / 1.105 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25): time 0.02308/1.157, allocations: 1.727 MB / 1.106 GB, free: 20.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/1.157, allocations: 58.73 kB / 1.106 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/1.158, allocations: 309 kB / 1.107 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/1.158, allocations: 30.14 kB / 1.107 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/1.158, allocations: 167.1 kB / 1.107 GB, free: 20.08 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/1.158, allocations: 87.08 kB / 1.107 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/1.158, allocations: 75.88 kB / 1.107 GB, free: 20 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.158, allocations: 341.8 kB / 1.107 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/1.16, allocations: 200.8 kB / 1.107 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/1.161, allocations: 264.8 kB / 1.108 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/1.163, allocations: 443.5 kB / 1.108 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.163, allocations: 4 kB / 1.108 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007678/1.171, allocations: 0.8909 MB / 1.109 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.171, allocations: 9.641 kB / 1.109 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.171, allocations: 1.219 kB / 1.109 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/1.173, allocations: 277.8 kB / 1.109 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/1.173, allocations: 67.8 kB / 1.109 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/1.19, allocations: 4.098 MB / 1.113 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/1.191, allocations: 79.84 kB / 1.113 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/1.191, allocations: 16.38 kB / 1.113 GB, free: 16.61 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.0003801/1.191, allocations: 146.8 kB / 1.114 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/1.191, allocations: 30.03 kB / 1.114 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008116/1.2, allocations: 0.9426 MB / 1.115 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.2, allocations: 6.812 kB / 1.115 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.2, allocations: 1.203 kB / 1.115 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.2, allocations: 2.062 kB / 1.115 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007453/1.2, allocations: 432.8 kB / 1.115 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/1.2, allocations: 5.438 kB / 1.115 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/1.201, allocations: 59.69 kB / 1.115 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/1.203, allocations: 277.2 kB / 1.115 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/1.203, allocations: 15.38 kB / 1.115 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/1.218, allocations: 4.076 MB / 1.119 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.218, allocations: 0.875 kB / 1.119 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007606/1.226, allocations: 0.957 MB / 1.12 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/1.226, allocations: 111.1 kB / 1.12 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/1.226, allocations: 3.922 kB / 1.12 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/1.227, allocations: 49.39 kB / 1.12 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.227, allocations: 14.72 kB / 1.12 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/1.227, allocations: 17.64 kB / 1.12 GB, free: 13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003132/1.228, allocations: 231 kB / 1.121 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.81e-07/1.228, allocations: 0 / 1.121 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008573/1.228, allocations: 120.5 kB / 1.121 GB, free: 12.9 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.0002944/1.229, allocations: 123 kB / 1.121 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003129/1.232, allocations: 0.7429 MB / 1.122 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.232, allocations: 0 / 1.122 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/1.234, allocations: 0.4977 MB / 1.122 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/1.234, allocations: 111.3 kB / 1.122 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/1.237, allocations: 0.8029 MB / 1.123 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/1.238, allocations: 0.7761 MB / 1.124 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/1.238, allocations: 35.22 kB / 1.124 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/1.238, allocations: 1.312 kB / 1.124 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of Templates: time 0.01459/1.252, allocations: 8.291 MB / 1.132 GB, free: 10.62 MB / 0.8731 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