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.001946/0.001946, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002338/0.002338, allocations: 191.9 kB / 22.23 MB, free: 5.156 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.399/1.399, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 443.4 MB / 0.7321 GB, free: 12.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002116/0.002116, allocations: 75.88 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8167, allocations: 160.8 MB / 1.218 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003695/0.8204, allocations: 2.326 MB / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1868/1.007, allocations: 152.5 MB / 1.37 GB, free: 11.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00037/1.008, allocations: 11.94 kB / 1.37 GB, free: 11.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00027/1.008, allocations: 47.45 kB / 1.37 GB, free: 11.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004817/1.008, allocations: 99.19 kB / 1.37 GB, free: 11.61 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/1.009, allocations: 307 kB / 1.37 GB, free: 11.31 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004901/1.01, allocations: 427.6 kB / 1.371 GB, free: 10.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/1.01, allocations: 74.95 kB / 1.371 GB, free: 10.82 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/1.011, allocations: 292.8 kB / 1.371 GB, free: 10.56 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/1.012, allocations: 199.2 kB / 1.371 GB, free: 10.36 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.728e-05/1.012, allocations: 28 kB / 1.371 GB, free: 10.34 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/1.012, allocations: 279.6 kB / 1.371 GB, free: 10.06 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/1.012, allocations: 83.72 kB / 1.371 GB, free: 9.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/1.013, allocations: 163.2 kB / 1.372 GB, free: 9.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008137/1.014, allocations: 497.8 kB / 1.372 GB, free: 9.336 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.014, allocations: 0 / 1.372 GB, free: 9.336 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.362e-06/1.014, allocations: 0 / 1.372 GB, free: 9.336 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.099e-05/1.014, allocations: 0 / 1.372 GB, free: 9.336 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.001704/1.015, allocations: 0.7206 MB / 1.373 GB, free: 8.566 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.015, allocations: 12.03 kB / 1.373 GB, free: 8.555 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/1.018, allocations: 263.7 kB / 1.373 GB, free: 8.297 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/1.019, allocations: 299.4 kB / 1.373 GB, free: 7.965 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/1.019, allocations: 20.66 kB / 1.373 GB, free: 7.945 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/1.019, allocations: 28 kB / 1.373 GB, free: 7.918 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/1.02, allocations: 429.8 kB / 1.374 GB, free: 7.492 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.021, allocations: 0 / 1.374 GB, free: 7.492 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/1.021, allocations: 12 kB / 1.374 GB, free: 7.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/1.021, allocations: 7.938 kB / 1.374 GB, free: 7.473 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002507/1.023, allocations: 0.5256 MB / 1.374 GB, free: 6.949 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/1.027, allocations: 1.14 MB / 1.375 GB, free: 5.754 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/1.029, allocations: 438.4 kB / 1.376 GB, free: 5.316 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/1.03, allocations: 220.6 kB / 1.376 GB, free: 5.098 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.916e-05/1.03, allocations: 7.984 kB / 1.376 GB, free: 5.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/1.03, allocations: 46.5 kB / 1.376 GB, free: 5.035 MB / 1.076 GB Notification: Performance of pre-optimization done (n=25): time 2.425e-06/1.03, allocations: 0 / 1.376 GB, free: 5.035 MB / 1.076 GB Notification: Performance of matching and sorting (n=25): time 0.01678/1.047, allocations: 1.724 MB / 1.378 GB, free: 3.262 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/1.047, allocations: 59.34 kB / 1.378 GB, free: 3.191 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/1.048, allocations: 308.5 kB / 1.378 GB, free: 2.883 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-05/1.048, allocations: 37.7 kB / 1.378 GB, free: 2.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/1.048, allocations: 172.4 kB / 1.378 GB, free: 2.664 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/1.048, allocations: 95.2 kB / 1.378 GB, free: 2.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/1.048, allocations: 69.92 kB / 1.379 GB, free: 2.496 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.048, allocations: 346.8 kB / 1.379 GB, free: 2.148 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/1.05, allocations: 200.4 kB / 1.379 GB, free: 1.953 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/1.051, allocations: 267.5 kB / 1.379 GB, free: 1.672 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/1.053, allocations: 430.2 kB / 1.38 GB, free: 1.242 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.053, allocations: 0 / 1.38 GB, free: 1.242 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007489/1.06, allocations: 0.8851 MB / 1.381 GB, free: 352 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.06, allocations: 6.344 kB / 1.381 GB, free: 348 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/1.06, allocations: 4 kB / 1.381 GB, free: 344 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/1.062, allocations: 277.4 kB / 1.381 GB, free: 60 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005869/1.063, allocations: 67.94 kB / 1.381 GB, free: 15.99 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/1.078, allocations: 4.106 MB / 1.385 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009218/1.079, allocations: 79.67 kB / 1.385 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.08, allocations: 19.97 kB / 1.385 GB, free: 11.51 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.0002624/1.08, allocations: 142.1 kB / 1.385 GB, free: 11.36 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/1.08, allocations: 31.81 kB / 1.385 GB, free: 11.33 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007455/1.087, allocations: 0.951 MB / 1.386 GB, free: 10.37 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/1.087, allocations: 4 kB / 1.386 GB, free: 10.37 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.087, allocations: 0 / 1.386 GB, free: 10.37 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/1.087, allocations: 3.984 kB / 1.386 GB, free: 10.36 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007119/1.088, allocations: 432.9 kB / 1.387 GB, free: 9.891 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.088, allocations: 0 / 1.387 GB, free: 9.891 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/1.089, allocations: 47.95 kB / 1.387 GB, free: 9.844 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001882/1.09, allocations: 281.3 kB / 1.387 GB, free: 9.562 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/1.09, allocations: 19.91 kB / 1.387 GB, free: 9.543 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/1.106, allocations: 4.081 MB / 1.391 GB, free: 5.18 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.106, allocations: 0 / 1.391 GB, free: 5.18 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007103/1.113, allocations: 0.9574 MB / 1.392 GB, free: 4.199 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/1.113, allocations: 116.8 kB / 1.392 GB, free: 4.066 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.113, allocations: 8 kB / 1.392 GB, free: 4.059 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000803/1.114, allocations: 43.95 kB / 1.392 GB, free: 4.016 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.114, allocations: 15.97 kB / 1.392 GB, free: 4 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/1.114, allocations: 23.91 kB / 1.392 GB, free: 3.977 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003001/1.114, allocations: 227 kB / 1.392 GB, free: 3.754 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/1.114, allocations: 0 / 1.392 GB, free: 3.754 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006819/1.115, allocations: 119.9 kB / 1.392 GB, free: 3.637 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.0002633/1.115, allocations: 123.2 kB / 1.392 GB, free: 3.508 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002906/1.118, allocations: 0.7039 MB / 1.393 GB, free: 2.777 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.118, allocations: 128 / 1.393 GB, free: 2.777 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/1.12, allocations: 0.4892 MB / 1.394 GB, free: 2.262 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/1.12, allocations: 109.2 kB / 1.394 GB, free: 2.152 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/1.123, allocations: 0.6947 MB / 1.394 GB, free: 1.434 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/1.124, allocations: 0.7684 MB / 1.395 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003839/1.124, allocations: 78.88 kB / 1.395 GB, free: 0.5586 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/1.124, allocations: 35.41 kB / 1.395 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of SimCode: time 1.303e-06/1.124, allocations: 0 / 1.395 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of Templates: time 0.02421/1.148, allocations: 13.95 MB / 1.409 GB, free: 2.633 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.247764309868217]