Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.543/2.543, allocations: 390.5 MB / 398 MB, free: 10.93 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.001268/0.001268, allocations: 182 kB / 491.2 MB, free: 1.586 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.62/1.62, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008838/0.0008839, allocations: 99.52 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.671e-05/1.686e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3129, allocations: 143 MB / 1.212 GB, free: 39.58 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.179/5.492, allocations: 1.729 GB / 2.941 GB, free: 110.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/5.492, allocations: 84.39 kB / 2.941 GB, free: 110.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1001/5.592, allocations: 50.18 MB / 2.99 GB, free: 65.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.527e-06/5.592, allocations: 0 / 2.99 GB, free: 65.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.353e-05/5.592, allocations: 8 kB / 2.99 GB, free: 65.29 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.001519/5.594, allocations: 0.6549 MB / 2.991 GB, free: 64.59 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/5.594, allocations: 8.031 kB / 2.991 GB, free: 64.59 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/5.597, allocations: 243.4 kB / 2.991 GB, free: 64.35 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007093/5.597, allocations: 300.6 kB / 2.991 GB, free: 64.01 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/5.597, allocations: 8 kB / 2.991 GB, free: 64 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/5.597, allocations: 19.95 kB / 2.991 GB, free: 63.98 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008398/5.598, allocations: 377 kB / 2.992 GB, free: 63.62 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/5.599, allocations: 315.6 kB / 2.992 GB, free: 63.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/5.599, allocations: 0 / 2.992 GB, free: 63.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/5.599, allocations: 4 kB / 2.992 GB, free: 63.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/5.599, allocations: 11.94 kB / 2.992 GB, free: 63.29 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/5.602, allocations: 1.065 MB / 2.993 GB, free: 62.18 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/5.603, allocations: 306.6 kB / 2.994 GB, free: 61.87 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/5.603, allocations: 150.8 kB / 2.994 GB, free: 61.72 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.355e-05/5.603, allocations: 15.97 kB / 2.994 GB, free: 61.71 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/5.603, allocations: 38.56 kB / 2.994 GB, free: 61.66 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.846e-06/5.603, allocations: 0 / 2.994 GB, free: 61.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.004659/5.608, allocations: 0.6515 MB / 2.994 GB, free: 61 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/5.608, allocations: 55.41 kB / 2.994 GB, free: 60.93 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/5.608, allocations: 183.9 kB / 2.995 GB, free: 60.75 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/5.608, allocations: 29.7 kB / 2.995 GB, free: 60.71 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/5.608, allocations: 172 kB / 2.995 GB, free: 60.54 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.181e-05/5.608, allocations: 82.75 kB / 2.995 GB, free: 60.46 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/5.608, allocations: 0 / 2.995 GB, free: 60.46 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/5.608, allocations: 334.8 kB / 2.995 GB, free: 60.12 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/5.608, allocations: 124.5 kB / 2.995 GB, free: 60 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/5.609, allocations: 186.7 kB / 2.995 GB, free: 59.79 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/5.609, allocations: 147.9 kB / 2.996 GB, free: 59.65 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/5.609, allocations: 0 / 2.996 GB, free: 59.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004469/5.614, allocations: 0.6865 MB / 2.996 GB, free: 58.95 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/5.614, allocations: 4 kB / 2.996 GB, free: 58.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/5.614, allocations: 0 / 2.996 GB, free: 58.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000631/5.614, allocations: 181.5 kB / 2.996 GB, free: 58.76 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/5.615, allocations: 67.94 kB / 2.997 GB, free: 58.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006537/5.621, allocations: 3.191 MB / 3 GB, free: 55.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/5.622, allocations: 59.7 kB / 3 GB, free: 55.21 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.29e-05/5.622, allocations: 15.97 kB / 3 GB, free: 55.19 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.0001569/5.622, allocations: 110 kB / 3 GB, free: 55.08 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/5.622, allocations: 31.66 kB / 3 GB, free: 55.05 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004598/5.627, allocations: 0.7314 MB / 3.001 GB, free: 54.31 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/5.627, allocations: 4 kB / 3.001 GB, free: 54.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/5.627, allocations: 0 / 3.001 GB, free: 54.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/5.627, allocations: 3.984 kB / 3.001 GB, free: 54.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/5.628, allocations: 369.7 kB / 3.001 GB, free: 53.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/5.628, allocations: 0 / 3.001 GB, free: 53.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/5.628, allocations: 59.88 kB / 3.001 GB, free: 53.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005124/5.629, allocations: 173.5 kB / 3.001 GB, free: 53.67 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/5.629, allocations: 11.97 kB / 3.001 GB, free: 53.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006167/5.635, allocations: 3.195 MB / 3.004 GB, free: 50.23 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/5.635, allocations: 4.062 kB / 3.004 GB, free: 50.23 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004343/5.639, allocations: 0.7427 MB / 3.005 GB, free: 49.46 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/5.639, allocations: 100.8 kB / 3.005 GB, free: 49.34 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/5.639, allocations: 4 kB / 3.005 GB, free: 49.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006967/5.64, allocations: 39.95 kB / 3.005 GB, free: 49.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/5.64, allocations: 23.92 kB / 3.005 GB, free: 49.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/5.64, allocations: 15.97 kB / 3.005 GB, free: 49.26 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001381/5.64, allocations: 152.5 kB / 3.005 GB, free: 49.11 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.81e-07/5.64, allocations: 0 / 3.005 GB, free: 49.11 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000826/5.641, allocations: 151.8 kB / 3.005 GB, free: 48.96 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.001022/5.642, allocations: 0.7063 MB / 3.006 GB, free: 48.25 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001106/5.643, allocations: 0.5617 MB / 3.007 GB, free: 47.67 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/5.643, allocations: 0 / 3.007 GB, free: 47.67 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006178/5.644, allocations: 423.5 kB / 3.007 GB, free: 47.23 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/5.644, allocations: 61.2 kB / 3.007 GB, free: 47.18 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/5.646, allocations: 446.4 kB / 3.008 GB, free: 46.72 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/5.646, allocations: 0.7718 MB / 3.008 GB, free: 45.92 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004816/5.647, allocations: 69.98 kB / 3.008 GB, free: 45.84 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/5.647, allocations: 31.41 kB / 3.008 GB, free: 45.81 MB / 1.151 GB Notification: Performance of SimCode: time 6.11e-07/5.647, allocations: 0 / 3.008 GB, free: 45.81 MB / 1.151 GB Notification: Performance of Templates: time 0.02314/5.67, allocations: 14.84 MB / 3.023 GB, free: 31 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches