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.001104/0.001104, allocations: 101.4 kB / 16.27 MB, free: 5.996 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.001054/0.001054, allocations: 188.6 kB / 17.2 MB, free: 5.605 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.487/2.487, allocations: 390.3 MB / 0.6654 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 59.45 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3143, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00434/0.3187, allocations: 2.298 MB / 0.9525 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7883/1.107, allocations: 152 MB / 1.101 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/1.107, allocations: 10.31 kB / 1.101 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002991/1.108, allocations: 43.45 kB / 1.101 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005798/1.108, allocations: 97.73 kB / 1.101 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/1.11, allocations: 305.7 kB / 1.101 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006209/1.11, allocations: 426.9 kB / 1.102 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/1.11, allocations: 107.5 kB / 1.102 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/1.112, allocations: 282.2 kB / 1.102 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/1.112, allocations: 184.2 kB / 1.102 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.539e-05/1.112, allocations: 29.5 kB / 1.102 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008784/1.113, allocations: 279.5 kB / 1.103 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/1.113, allocations: 77.66 kB / 1.103 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002907/1.114, allocations: 165.8 kB / 1.103 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009522/1.115, allocations: 485.9 kB / 1.103 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.115, allocations: 0.5312 kB / 1.103 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/1.115, allocations: 4 kB / 1.103 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.536e-06/1.115, allocations: 0.875 kB / 1.103 GB, free: 5.535 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.001817/1.116, allocations: 0.7036 MB / 1.104 GB, free: 21.05 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.117, allocations: 9.969 kB / 1.104 GB, free: 21.05 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002872/1.119, allocations: 267.6 kB / 1.104 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/1.12, allocations: 293 kB / 1.105 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/1.12, allocations: 17.84 kB / 1.105 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/1.12, allocations: 31.58 kB / 1.105 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/1.122, allocations: 428.7 kB / 1.105 GB, free: 20.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.122, allocations: 0.7812 kB / 1.105 GB, free: 20.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/1.122, allocations: 12.25 kB / 1.105 GB, free: 20.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/1.122, allocations: 11 kB / 1.105 GB, free: 20.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/1.124, allocations: 0.5235 MB / 1.106 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/1.128, allocations: 1.124 MB / 1.107 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/1.13, allocations: 467 kB / 1.107 GB, free: 20.34 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/1.131, allocations: 225.7 kB / 1.107 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.965e-05/1.131, allocations: 6.438 kB / 1.107 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/1.131, allocations: 41.28 kB / 1.107 GB, free: 20.28 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 4.518e-06/1.131, allocations: 0 / 1.107 GB, free: 20.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25): time 0.01623/1.148, allocations: 1.728 MB / 1.109 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/1.148, allocations: 54.89 kB / 1.109 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/1.148, allocations: 303.7 kB / 1.109 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/1.148, allocations: 34.58 kB / 1.109 GB, free: 19.72 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/1.149, allocations: 170 kB / 1.11 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/1.149, allocations: 85.36 kB / 1.11 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/1.149, allocations: 80.97 kB / 1.11 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.149, allocations: 338.1 kB / 1.11 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/1.15, allocations: 205.2 kB / 1.11 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/1.151, allocations: 261.6 kB / 1.111 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/1.153, allocations: 444 kB / 1.111 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.153, allocations: 1.094 kB / 1.111 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006888/1.16, allocations: 0.8891 MB / 1.112 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.16, allocations: 8.469 kB / 1.112 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.16, allocations: 3.938 kB / 1.112 GB, free: 19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/1.162, allocations: 277.6 kB / 1.112 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/1.163, allocations: 74.67 kB / 1.112 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/1.178, allocations: 4.085 MB / 1.116 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.179, allocations: 79.19 kB / 1.116 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/1.179, allocations: 17.91 kB / 1.116 GB, free: 16.16 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.0003411/1.179, allocations: 147 kB / 1.116 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/1.179, allocations: 33.48 kB / 1.116 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007217/1.186, allocations: 0.9435 MB / 1.117 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.187, allocations: 6.25 kB / 1.117 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.187, allocations: 1.531 kB / 1.117 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/1.187, allocations: 3.984 kB / 1.117 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/1.188, allocations: 429.1 kB / 1.118 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.188, allocations: 10.97 kB / 1.118 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/1.188, allocations: 54.31 kB / 1.118 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/1.19, allocations: 280.6 kB / 1.118 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/1.19, allocations: 13.7 kB / 1.118 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01426/1.204, allocations: 4.074 MB / 1.122 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.204, allocations: 0 / 1.122 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007018/1.211, allocations: 0.9587 MB / 1.123 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/1.212, allocations: 112.2 kB / 1.123 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/1.212, allocations: 5 kB / 1.123 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007948/1.213, allocations: 45.88 kB / 1.123 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.213, allocations: 19.52 kB / 1.123 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/1.213, allocations: 15.67 kB / 1.123 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003102/1.213, allocations: 230.1 kB / 1.123 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/1.213, allocations: 0 / 1.123 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000807/1.214, allocations: 118 kB / 1.124 GB, free: 12.45 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.0002883/1.214, allocations: 125.9 kB / 1.124 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002914/1.217, allocations: 0.7426 MB / 1.124 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.217, allocations: 0 / 1.124 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001602/1.219, allocations: 0.4986 MB / 1.125 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007908/1.22, allocations: 121.9 kB / 1.125 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/1.222, allocations: 0.7125 MB / 1.126 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/1.223, allocations: 0.7701 MB / 1.126 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/1.223, allocations: 39.3 kB / 1.126 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of SimCode: time 9.12e-07/1.223, allocations: 0 / 1.126 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.01524/1.238, allocations: 8.29 MB / 1.135 GB, free: 10.25 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