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.005241/0.005241, allocations: 102 kB / 15.73 MB, free: 6.051 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.001169/0.001169, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.564/2.564, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 60.11 kB / 1.054 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8479/0.8492, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003583/0.8528, allocations: 2.316 MB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1657/1.019, allocations: 152 MB / 1.358 GB, free: 2.703 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/1.019, allocations: 8 kB / 1.358 GB, free: 2.695 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002594/1.019, allocations: 43.47 kB / 1.358 GB, free: 2.652 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000532/1.02, allocations: 99.19 kB / 1.359 GB, free: 2.555 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/1.021, allocations: 299 kB / 1.359 GB, free: 2.262 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006634/1.022, allocations: 435.8 kB / 1.359 GB, free: 1.832 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002682/1.022, allocations: 99.7 kB / 1.359 GB, free: 1.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/1.024, allocations: 298.8 kB / 1.36 GB, free: 1.461 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/1.024, allocations: 183.2 kB / 1.36 GB, free: 1.281 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.019e-05/1.024, allocations: 32 kB / 1.36 GB, free: 1.25 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006774/1.025, allocations: 279.5 kB / 1.36 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/1.025, allocations: 79.73 kB / 1.36 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/1.025, allocations: 163.2 kB / 1.36 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/1.026, allocations: 0.4923 MB / 1.361 GB, free: 256 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.026, allocations: 4 kB / 1.361 GB, free: 252 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.804e-06/1.026, allocations: 4 kB / 1.361 GB, free: 248 kB / 1.076 GB Notification: Performance of Transformations before backend: time 2.403e-05/1.026, allocations: 0 / 1.361 GB, free: 248 kB / 1.076 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.001798/1.028, allocations: 0.6978 MB / 1.361 GB, free: 15.5 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.028, allocations: 8.031 kB / 1.361 GB, free: 15.49 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/1.031, allocations: 263.5 kB / 1.362 GB, free: 15.23 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/1.032, allocations: 303.3 kB / 1.362 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/1.032, allocations: 16.56 kB / 1.362 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/1.032, allocations: 28 kB / 1.362 GB, free: 14.85 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/1.033, allocations: 436.5 kB / 1.362 GB, free: 14.42 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.033, allocations: 0 / 1.362 GB, free: 14.42 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/1.034, allocations: 8 kB / 1.363 GB, free: 14.41 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/1.034, allocations: 11.94 kB / 1.363 GB, free: 14.4 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/1.036, allocations: 0.5252 MB / 1.363 GB, free: 13.88 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003312/1.039, allocations: 1.132 MB / 1.364 GB, free: 12.69 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/1.042, allocations: 460.3 kB / 1.365 GB, free: 12.23 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/1.043, allocations: 232.7 kB / 1.365 GB, free: 12 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/1.043, allocations: 12.38 kB / 1.365 GB, free: 11.99 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/1.043, allocations: 34.56 kB / 1.365 GB, free: 11.95 MB / 1.092 GB Notification: Performance of pre-optimization done (n=25): time 2.265e-06/1.043, allocations: 0 / 1.365 GB, free: 11.95 MB / 1.092 GB Notification: Performance of matching and sorting (n=25): time 0.0159/1.059, allocations: 1.727 MB / 1.367 GB, free: 10.17 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/1.059, allocations: 55.41 kB / 1.367 GB, free: 10.1 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/1.059, allocations: 304.5 kB / 1.367 GB, free: 9.801 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/1.059, allocations: 29.7 kB / 1.367 GB, free: 9.766 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/1.059, allocations: 172.2 kB / 1.367 GB, free: 9.594 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/1.059, allocations: 82.75 kB / 1.367 GB, free: 9.512 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/1.06, allocations: 77.92 kB / 1.367 GB, free: 9.426 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.06, allocations: 342.7 kB / 1.368 GB, free: 9.082 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/1.061, allocations: 208.3 kB / 1.368 GB, free: 8.879 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/1.062, allocations: 262.9 kB / 1.368 GB, free: 8.602 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/1.064, allocations: 434.8 kB / 1.368 GB, free: 8.168 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.064, allocations: 0 / 1.368 GB, free: 8.168 MB / 1.092 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007111/1.071, allocations: 0.9005 MB / 1.369 GB, free: 7.254 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/1.071, allocations: 8 kB / 1.369 GB, free: 7.246 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.071, allocations: 4 kB / 1.369 GB, free: 7.242 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/1.073, allocations: 273.4 kB / 1.37 GB, free: 6.969 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/1.074, allocations: 71.88 kB / 1.37 GB, free: 6.898 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/1.088, allocations: 4.086 MB / 1.374 GB, free: 2.535 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/1.089, allocations: 75.55 kB / 1.374 GB, free: 2.461 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/1.089, allocations: 19.95 kB / 1.374 GB, free: 2.441 MB / 1.092 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.0002319/1.089, allocations: 149.4 kB / 1.374 GB, free: 2.289 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/1.09, allocations: 35.62 kB / 1.374 GB, free: 2.254 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007235/1.097, allocations: 0.9495 MB / 1.375 GB, free: 1.293 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/1.097, allocations: 4 kB / 1.375 GB, free: 1.289 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/1.097, allocations: 0 / 1.375 GB, free: 1.289 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.097, allocations: 0 / 1.375 GB, free: 1.289 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005995/1.098, allocations: 420.7 kB / 1.375 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.098, allocations: 0 / 1.375 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/1.098, allocations: 55.89 kB / 1.375 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/1.1, allocations: 281.4 kB / 1.376 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/1.1, allocations: 11.97 kB / 1.376 GB, free: 492 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/1.114, allocations: 4.092 MB / 1.38 GB, free: 12.11 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.114, allocations: 0 / 1.38 GB, free: 12.11 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/1.121, allocations: 0.9688 MB / 1.38 GB, free: 11.11 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/1.121, allocations: 104.7 kB / 1.381 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.402e-05/1.121, allocations: 7.984 kB / 1.381 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007399/1.122, allocations: 43.95 kB / 1.381 GB, free: 10.94 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.122, allocations: 19.98 kB / 1.381 GB, free: 10.92 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/1.122, allocations: 15.91 kB / 1.381 GB, free: 10.91 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002435/1.122, allocations: 231 kB / 1.381 GB, free: 10.68 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.8e-07/1.122, allocations: 0 / 1.381 GB, free: 10.68 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006168/1.123, allocations: 115.9 kB / 1.381 GB, free: 10.57 MB / 1.107 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.0002244/1.123, allocations: 123.2 kB / 1.381 GB, free: 10.44 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002764/1.126, allocations: 0.7234 MB / 1.382 GB, free: 9.691 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.126, allocations: 0 / 1.382 GB, free: 9.691 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/1.128, allocations: 0.4973 MB / 1.382 GB, free: 9.168 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/1.128, allocations: 109.2 kB / 1.382 GB, free: 9.062 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/1.131, allocations: 0.6792 MB / 1.383 GB, free: 8.352 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/1.131, allocations: 0.7684 MB / 1.384 GB, free: 7.559 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003937/1.131, allocations: 82.86 kB / 1.384 GB, free: 7.48 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/1.132, allocations: 31.42 kB / 1.384 GB, free: 7.449 MB / 1.107 GB Notification: Performance of SimCode: time 6.11e-07/1.132, allocations: 4 kB / 1.384 GB, free: 7.445 MB / 1.107 GB Notification: Performance of Templates: time 0.02143/1.153, allocations: 13.61 MB / 1.397 GB, free: 9.898 MB / 1.123 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches