Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007359/0.007359, allocations: 99.27 kB / 15.73 MB, free: 6.02 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.001819/0.001819, allocations: 194.9 kB / 16.67 MB, free: 5.934 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.658/2.658, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.8064, allocations: 159.1 MB / 1.221 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00342/0.8099, allocations: 2.309 MB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1814/0.9912, allocations: 152.4 MB / 1.372 GB, free: 6.781 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006206/0.9918, allocations: 4 kB / 1.372 GB, free: 6.777 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.9923, allocations: 47.47 kB / 1.372 GB, free: 6.73 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0009453/0.9932, allocations: 99.17 kB / 1.372 GB, free: 6.633 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.9949, allocations: 311 kB / 1.372 GB, free: 6.328 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.996, allocations: 427.8 kB / 1.373 GB, free: 5.906 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003829/0.9964, allocations: 71.72 kB / 1.373 GB, free: 5.828 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.9983, allocations: 290.4 kB / 1.373 GB, free: 5.566 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.9987, allocations: 183.2 kB / 1.373 GB, free: 5.387 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.9988, allocations: 28 kB / 1.373 GB, free: 5.359 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007486/0.9996, allocations: 279.6 kB / 1.373 GB, free: 5.086 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.9997, allocations: 83.72 kB / 1.373 GB, free: 5.004 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.9999, allocations: 159.2 kB / 1.374 GB, free: 4.848 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/1.001, allocations: 0.4948 MB / 1.374 GB, free: 4.355 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.001, allocations: 0 / 1.374 GB, free: 4.355 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.753e-06/1.001, allocations: 0 / 1.374 GB, free: 4.355 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.305e-06/1.001, allocations: 0 / 1.374 GB, free: 4.355 MB / 1.092 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.001586/1.003, allocations: 0.7204 MB / 1.375 GB, free: 3.586 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/1.003, allocations: 12.03 kB / 1.375 GB, free: 3.574 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002978/1.006, allocations: 263.7 kB / 1.375 GB, free: 3.316 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/1.006, allocations: 303.4 kB / 1.375 GB, free: 2.98 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/1.006, allocations: 20.56 kB / 1.375 GB, free: 2.961 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/1.006, allocations: 28 kB / 1.375 GB, free: 2.934 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/1.008, allocations: 432.5 kB / 1.376 GB, free: 2.508 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.008, allocations: 0 / 1.376 GB, free: 2.508 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.993e-05/1.008, allocations: 12 kB / 1.376 GB, free: 2.496 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.008, allocations: 7.938 kB / 1.376 GB, free: 2.488 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/1.01, allocations: 0.5213 MB / 1.376 GB, free: 1.969 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/1.013, allocations: 1.14 MB / 1.377 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/1.016, allocations: 446.3 kB / 1.378 GB, free: 340 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/1.017, allocations: 216.7 kB / 1.378 GB, free: 120 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.765e-05/1.017, allocations: 8.375 kB / 1.378 GB, free: 112 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/1.017, allocations: 42.56 kB / 1.378 GB, free: 60 kB / 1.092 GB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/1.017, allocations: 0 / 1.378 GB, free: 60 kB / 1.092 GB Notification: Performance of matching and sorting (n=25): time 0.01718/1.034, allocations: 1.722 MB / 1.38 GB, free: 14.29 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/1.034, allocations: 55.41 kB / 1.38 GB, free: 14.22 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/1.034, allocations: 304.5 kB / 1.38 GB, free: 13.92 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.333e-05/1.035, allocations: 37.7 kB / 1.38 GB, free: 13.88 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/1.035, allocations: 180.3 kB / 1.38 GB, free: 13.7 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/1.035, allocations: 91.22 kB / 1.38 GB, free: 13.61 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/1.035, allocations: 69.92 kB / 1.38 GB, free: 13.53 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.035, allocations: 346.8 kB / 1.381 GB, free: 13.18 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/1.036, allocations: 200.4 kB / 1.381 GB, free: 12.98 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/1.037, allocations: 270.8 kB / 1.381 GB, free: 12.7 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/1.04, allocations: 426.8 kB / 1.382 GB, free: 12.27 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.04, allocations: 0 / 1.382 GB, free: 12.27 MB / 1.107 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007396/1.047, allocations: 0.8929 MB / 1.383 GB, free: 11.37 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/1.047, allocations: 8 kB / 1.383 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.047, allocations: 0 / 1.383 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00197/1.049, allocations: 273.4 kB / 1.383 GB, free: 11.09 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/1.05, allocations: 71.88 kB / 1.383 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/1.065, allocations: 4.101 MB / 1.387 GB, free: 6.641 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009316/1.066, allocations: 75.69 kB / 1.387 GB, free: 6.566 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.066, allocations: 27.89 kB / 1.387 GB, free: 6.539 MB / 1.107 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.0002729/1.066, allocations: 133.8 kB / 1.387 GB, free: 6.398 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/1.066, allocations: 31.81 kB / 1.387 GB, free: 6.367 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007427/1.074, allocations: 0.9496 MB / 1.388 GB, free: 5.402 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/1.074, allocations: 4 kB / 1.388 GB, free: 5.398 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/1.074, allocations: 0 / 1.388 GB, free: 5.398 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/1.074, allocations: 3.984 kB / 1.388 GB, free: 5.395 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006174/1.075, allocations: 428.7 kB / 1.388 GB, free: 4.926 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.075, allocations: 0 / 1.388 GB, free: 4.926 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/1.075, allocations: 51.89 kB / 1.389 GB, free: 4.875 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/1.077, allocations: 281.4 kB / 1.389 GB, free: 4.594 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/1.077, allocations: 15.91 kB / 1.389 GB, free: 4.578 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/1.092, allocations: 4.089 MB / 1.393 GB, free: 208 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.092, allocations: 0 / 1.393 GB, free: 208 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007281/1.099, allocations: 0.9574 MB / 1.394 GB, free: 15.22 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/1.099, allocations: 116.8 kB / 1.394 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/1.099, allocations: 7.984 kB / 1.394 GB, free: 15.08 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000797/1.1, allocations: 43.95 kB / 1.394 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.1, allocations: 11.98 kB / 1.394 GB, free: 15.03 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/1.1, allocations: 23.91 kB / 1.394 GB, free: 15 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000254/1.1, allocations: 227 kB / 1.394 GB, free: 14.79 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.1, allocations: 0 / 1.394 GB, free: 14.79 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006604/1.101, allocations: 123.8 kB / 1.394 GB, free: 14.66 MB / 1.123 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.0003/1.101, allocations: 127.4 kB / 1.394 GB, free: 14.53 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002822/1.104, allocations: 0.7078 MB / 1.395 GB, free: 13.8 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.104, allocations: 4.125 kB / 1.395 GB, free: 13.79 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/1.106, allocations: 493 kB / 1.396 GB, free: 13.29 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/1.106, allocations: 113.2 kB / 1.396 GB, free: 13.18 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/1.109, allocations: 0.6917 MB / 1.396 GB, free: 12.46 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/1.109, allocations: 0.7684 MB / 1.397 GB, free: 11.66 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003581/1.109, allocations: 74.89 kB / 1.397 GB, free: 11.59 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/1.11, allocations: 35.41 kB / 1.397 GB, free: 11.55 MB / 1.123 GB Notification: Performance of SimCode: time 6.81e-07/1.11, allocations: 0 / 1.397 GB, free: 11.55 MB / 1.123 GB Notification: Performance of Templates: time 0.02005/1.13, allocations: 13.64 MB / 1.411 GB, free: 13.98 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches