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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001354, allocations: 102.2 kB / 16.27 MB, free: 6.414 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.001562/0.001562, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.299/1.299, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.55/2.55, allocations: 469.4 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 71.88 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2804, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003774/0.2842, allocations: 2.302 MB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.649/0.9333, allocations: 152 MB / 1.215 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002818/0.9336, allocations: 7.562 kB / 1.215 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.9339, allocations: 53.77 kB / 1.215 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.9344, allocations: 95.83 kB / 1.215 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008804/0.9353, allocations: 305.5 kB / 1.215 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005636/0.9359, allocations: 420.2 kB / 1.216 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.9361, allocations: 114.1 kB / 1.216 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.9375, allocations: 271.7 kB / 1.216 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.9378, allocations: 181.3 kB / 1.216 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.499e-05/0.9379, allocations: 30.91 kB / 1.216 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006249/0.9385, allocations: 278.8 kB / 1.217 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.9387, allocations: 78.89 kB / 1.217 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.9389, allocations: 167.1 kB / 1.217 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000781/0.9397, allocations: 479.2 kB / 1.217 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.9397, allocations: 5.188 kB / 1.217 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9397, allocations: 0 / 1.217 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.9397, allocations: 4 kB / 1.217 GB, free: 8.816 MB / 0.9356 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.001578/0.9413, allocations: 0.7041 MB / 1.218 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.9413, allocations: 9.344 kB / 1.218 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/0.9442, allocations: 262.4 kB / 1.218 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.9446, allocations: 297.8 kB / 1.219 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.9446, allocations: 19.66 kB / 1.219 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.9447, allocations: 26.88 kB / 1.219 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.9462, allocations: 430.6 kB / 1.219 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.9462, allocations: 0 / 1.219 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.9463, allocations: 14.31 kB / 1.219 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.9463, allocations: 9.938 kB / 1.219 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.9486, allocations: 0.5333 MB / 1.22 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003522/0.9522, allocations: 1.137 MB / 1.221 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.9545, allocations: 459.4 kB / 1.221 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.9556, allocations: 231.4 kB / 1.221 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-05/0.9556, allocations: 11.47 kB / 1.221 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.9557, allocations: 36.03 kB / 1.221 GB, free: 6 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 2.695e-06/0.9557, allocations: 4 kB / 1.221 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.01558/0.9713, allocations: 1.723 MB / 1.223 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.9714, allocations: 58 kB / 1.223 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.9717, allocations: 314.1 kB / 1.223 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.758e-05/0.9718, allocations: 25.7 kB / 1.223 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.972, allocations: 176.1 kB / 1.224 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.9721, allocations: 85.42 kB / 1.224 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.9723, allocations: 73.45 kB / 1.224 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.9724, allocations: 338.2 kB / 1.224 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.9735, allocations: 206.8 kB / 1.224 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.9745, allocations: 263.5 kB / 1.224 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.9765, allocations: 435.2 kB / 1.225 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9766, allocations: 0 / 1.225 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006781/0.9833, allocations: 0.8881 MB / 1.226 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.9834, allocations: 7.562 kB / 1.226 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.9834, allocations: 1.906 kB / 1.226 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.9852, allocations: 284.7 kB / 1.226 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.9857, allocations: 61.05 kB / 1.226 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/1, allocations: 4.099 MB / 1.23 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009179/1.001, allocations: 79.56 kB / 1.23 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-05/1.001, allocations: 19.97 kB / 1.23 GB, free: 14.76 MB / 0.9512 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.0002504/1.001, allocations: 145.8 kB / 1.23 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/1.001, allocations: 31.61 kB / 1.23 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007112/1.009, allocations: 0.9465 MB / 1.231 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/1.009, allocations: 4 kB / 1.231 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/1.009, allocations: 0 / 1.231 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.009, allocations: 3.984 kB / 1.231 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006212/1.009, allocations: 428.9 kB / 1.232 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.009, allocations: 3.938 kB / 1.232 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/1.01, allocations: 55.95 kB / 1.232 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/1.012, allocations: 277.3 kB / 1.232 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/1.012, allocations: 15.97 kB / 1.232 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/1.026, allocations: 4.077 MB / 1.236 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.026, allocations: 0 / 1.236 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006918/1.033, allocations: 0.9534 MB / 1.237 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/1.033, allocations: 116.6 kB / 1.237 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/1.033, allocations: 12 kB / 1.237 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007827/1.034, allocations: 35.95 kB / 1.237 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.034, allocations: 23.97 kB / 1.237 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/1.034, allocations: 23.91 kB / 1.237 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002548/1.034, allocations: 227 kB / 1.237 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.11e-07/1.034, allocations: 0 / 1.237 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006648/1.035, allocations: 115.9 kB / 1.237 GB, free: 6.902 MB / 0.9512 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.0002561/1.035, allocations: 115.2 kB / 1.238 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002897/1.038, allocations: 0.7439 MB / 1.238 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.038, allocations: 0 / 1.238 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/1.04, allocations: 0.5011 MB / 1.239 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007693/1.041, allocations: 113.2 kB / 1.239 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/1.043, allocations: 0.7235 MB / 1.24 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/1.044, allocations: 0.7684 MB / 1.24 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/1.044, allocations: 43.41 kB / 1.24 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of SimCode: time 6.81e-07/1.044, allocations: 0 / 1.24 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of Templates: time 0.01292/1.057, allocations: 8.3 MB / 1.249 GB, free: 11.5 MB / 0.9669 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches