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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 155.7 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.859/2.859, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 71.83 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7411/0.7433, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002795/0.7461, allocations: 2.202 MB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1641/0.9102, allocations: 133.6 MB / 1.319 GB, free: 14.07 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.9104, allocations: 7.938 kB / 1.319 GB, free: 14.06 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.9106, allocations: 55.45 kB / 1.319 GB, free: 14.01 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.9109, allocations: 95.2 kB / 1.319 GB, free: 13.91 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006648/0.9116, allocations: 307 kB / 1.32 GB, free: 13.61 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004781/0.912, allocations: 427.7 kB / 1.32 GB, free: 13.19 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.9122, allocations: 70.97 kB / 1.32 GB, free: 13.12 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.9137, allocations: 289.8 kB / 1.32 GB, free: 12.87 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.914, allocations: 179.2 kB / 1.321 GB, free: 12.69 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.964e-05/0.9141, allocations: 32 kB / 1.321 GB, free: 12.66 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.9146, allocations: 267.6 kB / 1.321 GB, free: 12.4 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.9147, allocations: 79.73 kB / 1.321 GB, free: 12.32 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.9149, allocations: 139.4 kB / 1.321 GB, free: 12.18 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.9155, allocations: 0.49 MB / 1.322 GB, free: 11.7 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.9155, allocations: 0 / 1.322 GB, free: 11.7 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9155, allocations: 0 / 1.322 GB, free: 11.7 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.9155, allocations: 0 / 1.322 GB, free: 11.7 MB / 1.17 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.001489/0.917, allocations: 0.6336 MB / 1.322 GB, free: 11.03 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.9171, allocations: 12.03 kB / 1.322 GB, free: 11.02 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/0.9207, allocations: 319.6 kB / 1.322 GB, free: 10.71 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.9211, allocations: 245.5 kB / 1.323 GB, free: 10.44 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.9211, allocations: 24.66 kB / 1.323 GB, free: 10.42 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/0.9212, allocations: 24 kB / 1.323 GB, free: 10.39 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.9228, allocations: 437.7 kB / 1.323 GB, free: 9.961 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.9228, allocations: 0 / 1.323 GB, free: 9.961 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.9228, allocations: 12 kB / 1.323 GB, free: 9.949 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.9228, allocations: 11.94 kB / 1.323 GB, free: 9.938 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.9253, allocations: 0.5295 MB / 1.324 GB, free: 9.406 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003174/0.9285, allocations: 0.9645 MB / 1.325 GB, free: 8.406 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.9309, allocations: 446.3 kB / 1.325 GB, free: 7.961 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.932, allocations: 220.7 kB / 1.325 GB, free: 7.742 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.9321, allocations: 4 kB / 1.325 GB, free: 7.738 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.9321, allocations: 34.56 kB / 1.325 GB, free: 7.695 MB / 1.17 GB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.9321, allocations: 3.938 kB / 1.325 GB, free: 7.691 MB / 1.17 GB Notification: Performance of matching and sorting (n=25): time 0.0169/0.949, allocations: 1.573 MB / 1.327 GB, free: 6.105 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.9491, allocations: 59.41 kB / 1.327 GB, free: 6.035 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.9493, allocations: 221.7 kB / 1.327 GB, free: 5.809 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.9493, allocations: 33.7 kB / 1.327 GB, free: 5.77 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.9495, allocations: 180.5 kB / 1.327 GB, free: 5.59 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.62e-05/0.9496, allocations: 95.2 kB / 1.327 GB, free: 5.496 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.9498, allocations: 69.92 kB / 1.328 GB, free: 5.418 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.9499, allocations: 338.8 kB / 1.328 GB, free: 5.078 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.9511, allocations: 204.4 kB / 1.328 GB, free: 4.879 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.9523, allocations: 370.3 kB / 1.328 GB, free: 4.473 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.9546, allocations: 442.2 kB / 1.329 GB, free: 4.031 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.9546, allocations: 3.938 kB / 1.329 GB, free: 4.027 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00759/0.9622, allocations: 0.8934 MB / 1.33 GB, free: 3.121 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.9622, allocations: 4 kB / 1.33 GB, free: 3.117 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.9622, allocations: 0 / 1.33 GB, free: 3.117 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/0.9642, allocations: 285.4 kB / 1.33 GB, free: 2.832 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.9647, allocations: 67.88 kB / 1.33 GB, free: 2.766 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/0.9804, allocations: 3.815 MB / 1.334 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008191/0.9812, allocations: 59.86 kB / 1.334 GB, free: 14.69 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.9813, allocations: 19.97 kB / 1.334 GB, free: 14.67 MB / 1.186 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.0002079/0.9815, allocations: 158.3 kB / 1.334 GB, free: 14.51 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.629e-05/0.9816, allocations: 23.86 kB / 1.334 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007845/0.9894, allocations: 0.9419 MB / 1.335 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.9894, allocations: 4 kB / 1.335 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.9894, allocations: 0 / 1.335 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.9895, allocations: 7.984 kB / 1.335 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007985/0.9974, allocations: 1.227 MB / 1.336 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.9974, allocations: 8.062 kB / 1.336 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.9979, allocations: 59.89 kB / 1.336 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/0.9998, allocations: 273.4 kB / 1.336 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/0.9998, allocations: 23.97 kB / 1.336 GB, free: 11.88 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/1.015, allocations: 3.794 MB / 1.34 GB, free: 7.879 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.015, allocations: 4.062 kB / 1.34 GB, free: 7.875 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007347/1.022, allocations: 0.9668 MB / 1.341 GB, free: 6.879 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/1.023, allocations: 23.8 kB / 1.341 GB, free: 6.855 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/1.023, allocations: 15.98 kB / 1.341 GB, free: 6.84 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007696/1.023, allocations: 39.95 kB / 1.341 GB, free: 6.801 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/1.023, allocations: 31.89 kB / 1.341 GB, free: 6.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/1.023, allocations: 15.97 kB / 1.341 GB, free: 6.754 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001575/1.024, allocations: 157.2 kB / 1.341 GB, free: 6.602 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.024, allocations: 7.938 kB / 1.341 GB, free: 6.594 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005807/1.024, allocations: 123.8 kB / 1.342 GB, free: 6.473 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001879/1.024, allocations: 111.1 kB / 1.342 GB, free: 6.355 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002972/1.027, allocations: 0.7195 MB / 1.342 GB, free: 5.609 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.027, allocations: 0 / 1.342 GB, free: 5.609 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.029, allocations: 497.2 kB / 1.343 GB, free: 5.098 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/1.03, allocations: 76.86 kB / 1.343 GB, free: 5.023 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/1.033, allocations: 0.7574 MB / 1.344 GB, free: 4.238 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/1.033, allocations: 155.8 kB / 1.344 GB, free: 4.059 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003854/1.033, allocations: 78.19 kB / 1.344 GB, free: 3.984 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/1.033, allocations: 32.48 kB / 1.344 GB, free: 3.953 MB / 1.186 GB Notification: Performance of SimCode: time 3.1e-07/1.033, allocations: 0 / 1.344 GB, free: 3.953 MB / 1.186 GB Notification: Performance of Templates: time 0.02087/1.054, allocations: 13.34 MB / 1.357 GB, free: 6.711 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.951402766047977]