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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.081/2.081, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009595/0.0009595, allocations: 180.9 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008141/0.0008137, allocations: 93.41 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.356e-05/1.358e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2123, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.69/3.903, allocations: 1.728 GB / 2.934 GB, free: 156.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/3.903, allocations: 83.95 kB / 2.934 GB, free: 156.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.09457/3.998, allocations: 50.18 MB / 2.983 GB, free: 105.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.403e-06/3.998, allocations: 0 / 2.983 GB, free: 105.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.724e-05/3.998, allocations: 11.98 kB / 2.983 GB, free: 105.8 MB / 1.151 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.001268/3.999, allocations: 0.6355 MB / 2.984 GB, free: 105.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/3.999, allocations: 12.03 kB / 2.984 GB, free: 105.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/4.002, allocations: 243.4 kB / 2.984 GB, free: 104.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/4.002, allocations: 307.3 kB / 2.984 GB, free: 104.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/4.002, allocations: 11.94 kB / 2.984 GB, free: 104.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/4.002, allocations: 16 kB / 2.984 GB, free: 104.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006218/4.003, allocations: 376.9 kB / 2.985 GB, free: 104.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/4.003, allocations: 319.6 kB / 2.985 GB, free: 103.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/4.003, allocations: 0 / 2.985 GB, free: 103.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/4.003, allocations: 0 / 2.985 GB, free: 103.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/4.003, allocations: 4 kB / 2.985 GB, free: 103.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/4.006, allocations: 1.07 MB / 2.986 GB, free: 102.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005685/4.007, allocations: 318.5 kB / 2.986 GB, free: 102.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/4.007, allocations: 148.8 kB / 2.987 GB, free: 102.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/4.007, allocations: 4.391 kB / 2.987 GB, free: 102.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/4.007, allocations: 34.56 kB / 2.987 GB, free: 102.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.432e-06/4.007, allocations: 4 kB / 2.987 GB, free: 102.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.004645/4.012, allocations: 0.6485 MB / 2.987 GB, free: 101.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/4.012, allocations: 55.41 kB / 2.987 GB, free: 101.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/4.012, allocations: 187.9 kB / 2.987 GB, free: 101.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/4.012, allocations: 25.7 kB / 2.987 GB, free: 101.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/4.012, allocations: 180 kB / 2.988 GB, free: 101 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/4.012, allocations: 86.75 kB / 2.988 GB, free: 100.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/4.012, allocations: 0 / 2.988 GB, free: 100.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.689e-05/4.012, allocations: 326.8 kB / 2.988 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/4.012, allocations: 128.5 kB / 2.988 GB, free: 100.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/4.013, allocations: 182.7 kB / 2.988 GB, free: 100.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/4.013, allocations: 156.3 kB / 2.988 GB, free: 100.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/4.013, allocations: 0 / 2.988 GB, free: 100.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004444/4.017, allocations: 0.6821 MB / 2.989 GB, free: 99.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/4.018, allocations: 11.95 kB / 2.989 GB, free: 99.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/4.018, allocations: 3.938 kB / 2.989 GB, free: 99.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/4.018, allocations: 169.6 kB / 2.989 GB, free: 99.23 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/4.019, allocations: 71.88 kB / 2.989 GB, free: 99.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006009/4.025, allocations: 3.199 MB / 2.992 GB, free: 95.73 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/4.025, allocations: 55.88 kB / 2.993 GB, free: 95.67 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/4.025, allocations: 23.97 kB / 2.993 GB, free: 95.65 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001199/4.025, allocations: 104.9 kB / 2.993 GB, free: 95.54 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/4.026, allocations: 23.72 kB / 2.993 GB, free: 95.52 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00453/4.03, allocations: 0.7347 MB / 2.993 GB, free: 94.77 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/4.03, allocations: 0 / 2.993 GB, free: 94.77 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/4.03, allocations: 0 / 2.993 GB, free: 94.77 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/4.03, allocations: 4 kB / 2.993 GB, free: 94.77 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/4.031, allocations: 377.6 kB / 2.994 GB, free: 94.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/4.031, allocations: 0 / 2.994 GB, free: 94.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/4.031, allocations: 63.89 kB / 2.994 GB, free: 94.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/4.031, allocations: 169.5 kB / 2.994 GB, free: 94.13 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/4.031, allocations: 11.97 kB / 2.994 GB, free: 94.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005909/4.037, allocations: 3.191 MB / 2.997 GB, free: 90.69 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/4.037, allocations: 0 / 2.997 GB, free: 90.69 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004363/4.042, allocations: 0.7386 MB / 2.998 GB, free: 89.93 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/4.042, allocations: 104.8 kB / 2.998 GB, free: 89.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/4.042, allocations: 3.984 kB / 2.998 GB, free: 89.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/4.043, allocations: 43.95 kB / 2.998 GB, free: 89.76 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/4.043, allocations: 15.97 kB / 2.998 GB, free: 89.74 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/4.043, allocations: 27.88 kB / 2.998 GB, free: 89.71 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001087/4.043, allocations: 152.5 kB / 2.998 GB, free: 89.57 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/4.043, allocations: 0 / 2.998 GB, free: 89.57 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007186/4.044, allocations: 159.7 kB / 2.998 GB, free: 89.41 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007719/4.044, allocations: 0.6849 MB / 2.999 GB, free: 88.73 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009619/4.045, allocations: 0.5582 MB / 3 GB, free: 88.15 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/4.045, allocations: 0 / 3 GB, free: 88.15 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005685/4.046, allocations: 411.5 kB / 3 GB, free: 87.73 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/4.046, allocations: 64.36 kB / 3 GB, free: 87.66 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/4.048, allocations: 449 kB / 3 GB, free: 87.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/4.048, allocations: 0.7796 MB / 3.001 GB, free: 86.39 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004282/4.048, allocations: 73.97 kB / 3.001 GB, free: 86.32 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/4.048, allocations: 27.42 kB / 3.001 GB, free: 86.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/4.048, allocations: 0 / 3.001 GB, free: 86.3 MB / 1.151 GB Notification: Performance of Templates: time 0.01962/4.068, allocations: 14.84 MB / 3.016 GB, free: 71.48 MB / 1.151 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","../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches