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.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.001817/0.001817, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.002085/0.002085, allocations: 157.2 kB / 23.01 MB, free: 4.949 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.382/1.382, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.602/2.602, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002175/0.002175, allocations: 63.91 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2734, allocations: 169.9 MB / 1.117 GB, free: 2.582 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003373/0.2768, allocations: 2.194 MB / 1.12 GB, free: 380 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.6251/0.9019, allocations: 133.6 MB / 1.25 GB, free: 4.539 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.902, allocations: 7.25 kB / 1.25 GB, free: 4.535 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.9022, allocations: 47.75 kB / 1.25 GB, free: 4.5 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.9026, allocations: 98.72 kB / 1.25 GB, free: 4.434 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007147/0.9033, allocations: 300.4 kB / 1.25 GB, free: 4.285 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.9038, allocations: 433.6 kB / 1.251 GB, free: 4.086 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.9039, allocations: 69.56 kB / 1.251 GB, free: 4.055 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.9054, allocations: 295.6 kB / 1.251 GB, free: 3.961 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.9057, allocations: 163.9 kB / 1.251 GB, free: 3.902 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.9057, allocations: 30.38 kB / 1.251 GB, free: 3.902 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005203/0.9062, allocations: 271.5 kB / 1.252 GB, free: 3.836 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.9063, allocations: 77.97 kB / 1.252 GB, free: 3.789 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.9065, allocations: 141.3 kB / 1.252 GB, free: 3.715 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.9071, allocations: 0.4899 MB / 1.252 GB, free: 3.531 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.9072, allocations: 0 / 1.252 GB, free: 3.531 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9072, allocations: 4 kB / 1.252 GB, free: 3.527 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.9072, allocations: 1.375 kB / 1.252 GB, free: 3.527 MB / 1.107 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.001499/0.9087, allocations: 0.6386 MB / 1.253 GB, free: 3.082 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.9087, allocations: 8.25 kB / 1.253 GB, free: 3.082 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003223/0.9119, allocations: 295.9 kB / 1.253 GB, free: 3.035 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.9123, allocations: 241.1 kB / 1.254 GB, free: 2.844 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.9124, allocations: 20.27 kB / 1.254 GB, free: 2.836 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.9124, allocations: 29.53 kB / 1.254 GB, free: 2.828 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.9139, allocations: 431.3 kB / 1.254 GB, free: 2.68 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.9139, allocations: 7.938 kB / 1.254 GB, free: 2.672 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.914, allocations: 9.406 kB / 1.254 GB, free: 2.664 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.914, allocations: 11.72 kB / 1.254 GB, free: 2.66 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.9164, allocations: 0.516 MB / 1.255 GB, free: 2.52 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003094/0.9195, allocations: 0.96 MB / 1.255 GB, free: 2.023 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.922, allocations: 441.9 kB / 1.256 GB, free: 1.887 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.9231, allocations: 216.8 kB / 1.256 GB, free: 1.82 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.9231, allocations: 3.016 kB / 1.256 GB, free: 1.82 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.9232, allocations: 33.5 kB / 1.256 GB, free: 1.781 MB / 1.107 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.9232, allocations: 5.312 kB / 1.256 GB, free: 1.777 MB / 1.107 GB Notification: Performance of matching and sorting (n=25): time 0.01716/0.9403, allocations: 1.574 MB / 1.258 GB, free: 1.441 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.9404, allocations: 54.92 kB / 1.258 GB, free: 1.379 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.9406, allocations: 219.7 kB / 1.258 GB, free: 1.242 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.9406, allocations: 35.55 kB / 1.258 GB, free: 1.203 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.9408, allocations: 183.4 kB / 1.258 GB, free: 1.047 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.715e-05/0.9409, allocations: 89.42 kB / 1.258 GB, free: 0.9766 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.9411, allocations: 75.16 kB / 1.258 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.9412, allocations: 340.2 kB / 1.259 GB, free: 0.6094 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.9423, allocations: 196.4 kB / 1.259 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.9436, allocations: 368.2 kB / 1.259 GB, free: 320 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/0.9459, allocations: 439.5 kB / 1.26 GB, free: 152 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.9459, allocations: 1.125 kB / 1.26 GB, free: 152 kB / 1.107 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007608/0.9535, allocations: 0.8807 MB / 1.26 GB, free: 15.91 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.9535, allocations: 9.125 kB / 1.26 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.9535, allocations: 1 kB / 1.26 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00204/0.9556, allocations: 282.3 kB / 1.261 GB, free: 15.84 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.9561, allocations: 68.64 kB / 1.261 GB, free: 15.84 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/0.9718, allocations: 3.804 MB / 1.265 GB, free: 13.1 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008134/0.9726, allocations: 66.33 kB / 1.265 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.9726, allocations: 17.53 kB / 1.265 GB, free: 13.08 MB / 1.123 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.000226/0.9728, allocations: 155.2 kB / 1.265 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.9729, allocations: 24.44 kB / 1.265 GB, free: 12.92 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007722/0.9807, allocations: 0.9415 MB / 1.266 GB, free: 12.65 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.9807, allocations: 6.281 kB / 1.266 GB, free: 12.65 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.9807, allocations: 1.781 kB / 1.266 GB, free: 12.65 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.9807, allocations: 1.359 kB / 1.266 GB, free: 12.65 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.9812, allocations: 302.1 kB / 1.266 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.9812, allocations: 4.219 kB / 1.266 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.9816, allocations: 57.12 kB / 1.266 GB, free: 12.44 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/0.9835, allocations: 276.7 kB / 1.266 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.9836, allocations: 15.47 kB / 1.266 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/0.9989, allocations: 3.793 MB / 1.27 GB, free: 9.648 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.9989, allocations: 0 / 1.27 GB, free: 9.648 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007489/1.006, allocations: 0.9558 MB / 1.271 GB, free: 9.309 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/1.006, allocations: 25.02 kB / 1.271 GB, free: 9.293 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/1.006, allocations: 9.281 kB / 1.271 GB, free: 9.285 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007615/1.007, allocations: 46.75 kB / 1.271 GB, free: 9.277 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/1.007, allocations: 20.47 kB / 1.271 GB, free: 9.273 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/1.007, allocations: 14.66 kB / 1.271 GB, free: 9.273 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001685/1.008, allocations: 169.9 kB / 1.271 GB, free: 9.168 MB / 1.123 GB Notification: Performance of sort global known variables: time 7.1e-08/1.008, allocations: 0 / 1.271 GB, free: 9.168 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006489/1.008, allocations: 124.4 kB / 1.271 GB, free: 9.145 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.0002085/1.008, allocations: 123.1 kB / 1.271 GB, free: 9.043 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003006/1.011, allocations: 0.7141 MB / 1.272 GB, free: 8.691 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/1.011, allocations: 0 / 1.272 GB, free: 8.691 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/1.013, allocations: 493.5 kB / 1.273 GB, free: 8.41 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/1.014, allocations: 73.55 kB / 1.273 GB, free: 8.387 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/1.016, allocations: 0.6833 MB / 1.273 GB, free: 8.039 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/1.016, allocations: 169 kB / 1.274 GB, free: 7.949 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003611/1.017, allocations: 71.64 kB / 1.274 GB, free: 7.914 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/1.017, allocations: 31.06 kB / 1.274 GB, free: 7.906 MB / 1.123 GB Notification: Performance of SimCode: time 3.2e-07/1.017, allocations: 0 / 1.274 GB, free: 7.906 MB / 1.123 GB Notification: Performance of Templates: time 0.02134/1.038, allocations: 13.43 MB / 1.287 GB, free: 3.977 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.803098176955245]