Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 107.4 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 190.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 443.5 MB / 0.7286 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 63.89 kB / 1.056 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.805/0.8071, allocations: 160.7 MB / 1.213 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00512/0.8122, allocations: 2.317 MB / 1.216 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1981/1.01, allocations: 152.5 MB / 1.364 GB, free: 12.92 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/1.011, allocations: 7.938 kB / 1.364 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001995/1.011, allocations: 47.45 kB / 1.365 GB, free: 12.86 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003593/1.011, allocations: 95.2 kB / 1.365 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007394/1.012, allocations: 314.9 kB / 1.365 GB, free: 12.46 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005182/1.012, allocations: 423.8 kB / 1.365 GB, free: 12.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/1.013, allocations: 78.39 kB / 1.365 GB, free: 11.97 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/1.014, allocations: 297.6 kB / 1.366 GB, free: 11.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/1.015, allocations: 187.2 kB / 1.366 GB, free: 11.53 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/1.015, allocations: 28 kB / 1.366 GB, free: 11.5 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006438/1.015, allocations: 283.6 kB / 1.366 GB, free: 11.22 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/1.015, allocations: 83.72 kB / 1.366 GB, free: 11.14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/1.016, allocations: 163.2 kB / 1.366 GB, free: 10.98 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008013/1.016, allocations: 0.4901 MB / 1.367 GB, free: 10.49 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.016, allocations: 0 / 1.367 GB, free: 10.49 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.854e-06/1.016, allocations: 0 / 1.367 GB, free: 10.49 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.127e-06/1.016, allocations: 0 / 1.367 GB, free: 10.49 MB / 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.001672/1.018, allocations: 0.7127 MB / 1.368 GB, free: 9.727 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.018, allocations: 8.625 kB / 1.368 GB, free: 9.719 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002831/1.021, allocations: 259.7 kB / 1.368 GB, free: 9.465 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/1.021, allocations: 311.4 kB / 1.368 GB, free: 9.121 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/1.021, allocations: 20.56 kB / 1.368 GB, free: 9.102 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/1.021, allocations: 28 kB / 1.368 GB, free: 9.074 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/1.023, allocations: 424.5 kB / 1.369 GB, free: 8.656 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.023, allocations: 4 kB / 1.369 GB, free: 8.652 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/1.023, allocations: 12 kB / 1.369 GB, free: 8.641 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/1.023, allocations: 11.88 kB / 1.369 GB, free: 8.629 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/1.026, allocations: 0.5213 MB / 1.369 GB, free: 8.109 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/1.029, allocations: 1.132 MB / 1.37 GB, free: 6.922 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/1.031, allocations: 450.3 kB / 1.371 GB, free: 6.473 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/1.032, allocations: 220.7 kB / 1.371 GB, free: 6.254 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.821e-05/1.032, allocations: 8.375 kB / 1.371 GB, free: 6.246 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/1.032, allocations: 30.56 kB / 1.371 GB, free: 6.207 MB / 1.076 GB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/1.032, allocations: 4 kB / 1.371 GB, free: 6.203 MB / 1.076 GB Notification: Performance of matching and sorting (n=25): time 0.01613/1.048, allocations: 1.733 MB / 1.373 GB, free: 4.422 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/1.048, allocations: 55.41 kB / 1.373 GB, free: 4.355 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/1.049, allocations: 308.5 kB / 1.373 GB, free: 4.043 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/1.049, allocations: 33.7 kB / 1.373 GB, free: 4.004 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/1.049, allocations: 172.4 kB / 1.373 GB, free: 3.832 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/1.049, allocations: 91.22 kB / 1.373 GB, free: 3.742 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/1.049, allocations: 73.86 kB / 1.373 GB, free: 3.664 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.049, allocations: 346.8 kB / 1.374 GB, free: 3.316 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/1.05, allocations: 204.4 kB / 1.374 GB, free: 3.117 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/1.052, allocations: 259.5 kB / 1.374 GB, free: 2.844 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/1.054, allocations: 435 kB / 1.374 GB, free: 2.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.054, allocations: 0 / 1.374 GB, free: 2.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007172/1.061, allocations: 0.8934 MB / 1.375 GB, free: 1.504 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/1.061, allocations: 4 kB / 1.375 GB, free: 1.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.061, allocations: 4 kB / 1.375 GB, free: 1.496 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001929/1.063, allocations: 281.4 kB / 1.376 GB, free: 1.215 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/1.063, allocations: 63.94 kB / 1.376 GB, free: 1.152 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/1.079, allocations: 4.089 MB / 1.38 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008478/1.079, allocations: 75.69 kB / 1.38 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/1.079, allocations: 19.97 kB / 1.38 GB, free: 12.69 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.0002256/1.08, allocations: 145.8 kB / 1.38 GB, free: 12.54 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.424e-05/1.08, allocations: 31.81 kB / 1.38 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007482/1.087, allocations: 0.9509 MB / 1.381 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/1.087, allocations: 4 kB / 1.381 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/1.087, allocations: 0 / 1.381 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.087, allocations: 0 / 1.381 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/1.088, allocations: 436.8 kB / 1.381 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.088, allocations: 4 kB / 1.381 GB, free: 11.06 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/1.088, allocations: 51.89 kB / 1.381 GB, free: 11.01 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002165/1.091, allocations: 281.4 kB / 1.382 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/1.091, allocations: 15.97 kB / 1.382 GB, free: 10.71 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/1.106, allocations: 4.077 MB / 1.386 GB, free: 6.352 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.106, allocations: 3.938 kB / 1.386 GB, free: 6.348 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007213/1.113, allocations: 0.9574 MB / 1.387 GB, free: 5.367 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/1.113, allocations: 108.9 kB / 1.387 GB, free: 5.242 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.201e-05/1.113, allocations: 11.94 kB / 1.387 GB, free: 5.23 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007528/1.114, allocations: 43.94 kB / 1.387 GB, free: 5.188 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.114, allocations: 15.98 kB / 1.387 GB, free: 5.172 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.774e-05/1.114, allocations: 23.91 kB / 1.387 GB, free: 5.148 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002718/1.114, allocations: 227.1 kB / 1.387 GB, free: 4.926 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.114, allocations: 0 / 1.387 GB, free: 4.926 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00063/1.115, allocations: 119.9 kB / 1.387 GB, free: 4.809 MB / 1.092 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.0002635/1.115, allocations: 119.2 kB / 1.387 GB, free: 4.684 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002973/1.118, allocations: 0.7156 MB / 1.388 GB, free: 3.941 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.118, allocations: 0 / 1.388 GB, free: 3.941 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/1.12, allocations: 493.2 kB / 1.388 GB, free: 3.434 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/1.121, allocations: 109.2 kB / 1.388 GB, free: 3.328 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/1.123, allocations: 0.6941 MB / 1.389 GB, free: 2.609 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/1.124, allocations: 0.7723 MB / 1.39 GB, free: 1.812 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003919/1.124, allocations: 74.88 kB / 1.39 GB, free: 1.734 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/1.124, allocations: 43.41 kB / 1.39 GB, free: 1.691 MB / 1.092 GB Notification: Performance of SimCode: time 4.41e-07/1.124, allocations: 0 / 1.39 GB, free: 1.691 MB / 1.092 GB Notification: Performance of Templates: time 0.02289/1.147, allocations: 13.66 MB / 1.403 GB, free: 4.098 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.072926343418658]