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.002143/0.002143, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002211/0.002211, allocations: 215 kB / 20.13 MB, free: 2.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.519/1.519, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 3.026/3.026, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="cs",version="2.0",platforms={"static"}) [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.001982/0.001982, allocations: 60.19 kB / 1.165 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9185/0.9204, allocations: 178.9 MB / 1.34 GB, free: 16.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002946/0.9234, allocations: 2.329 MB / 1.342 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1888/1.112, allocations: 155.3 MB / 1.494 GB, free: 9.27 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002748/1.113, allocations: 8 kB / 1.494 GB, free: 9.266 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002193/1.113, allocations: 46.28 kB / 1.494 GB, free: 9.223 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003851/1.113, allocations: 98.09 kB / 1.494 GB, free: 9.141 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008407/1.114, allocations: 308.1 kB / 1.494 GB, free: 8.906 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005356/1.114, allocations: 431 kB / 1.495 GB, free: 8.652 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/1.115, allocations: 80.25 kB / 1.495 GB, free: 8.602 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/1.116, allocations: 296.9 kB / 1.495 GB, free: 8.461 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/1.117, allocations: 186.2 kB / 1.495 GB, free: 8.336 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.715e-05/1.117, allocations: 30.09 kB / 1.495 GB, free: 8.336 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006861/1.117, allocations: 292.2 kB / 1.496 GB, free: 8.195 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/1.117, allocations: 79.61 kB / 1.496 GB, free: 8.129 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/1.118, allocations: 163.2 kB / 1.496 GB, free: 8.016 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007924/1.118, allocations: 0.4963 MB / 1.496 GB, free: 7.68 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/1.118, allocations: 0 / 1.496 GB, free: 7.68 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.252e-06/1.118, allocations: 0 / 1.496 GB, free: 7.68 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.293e-06/1.118, allocations: 1.188 kB / 1.496 GB, free: 7.68 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.001599/1.12, allocations: 0.7038 MB / 1.497 GB, free: 7.082 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.12, allocations: 13.16 kB / 1.497 GB, free: 7.078 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.922e-05/1.12, allocations: 7.5 kB / 1.497 GB, free: 7.078 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.478e-05/1.12, allocations: 66.94 kB / 1.497 GB, free: 7.012 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/1.124, allocations: 313.5 kB / 1.498 GB, free: 6.887 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/1.124, allocations: 313.3 kB / 1.498 GB, free: 6.578 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/1.124, allocations: 20.09 kB / 1.498 GB, free: 6.57 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/1.124, allocations: 28.69 kB / 1.498 GB, free: 6.555 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/1.126, allocations: 440.5 kB / 1.498 GB, free: 6.121 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.126, allocations: 0 / 1.498 GB, free: 6.121 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/1.126, allocations: 11.94 kB / 1.498 GB, free: 6.109 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/1.126, allocations: 8 kB / 1.498 GB, free: 6.102 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/1.128, allocations: 0.5329 MB / 1.499 GB, free: 5.57 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/1.132, allocations: 1.147 MB / 1.5 GB, free: 4.371 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/1.134, allocations: 438.4 kB / 1.5 GB, free: 3.934 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/1.135, allocations: 216.7 kB / 1.501 GB, free: 3.719 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.933e-05/1.135, allocations: 12.38 kB / 1.501 GB, free: 3.707 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/1.135, allocations: 42.42 kB / 1.501 GB, free: 3.656 MB / 1.17 GB Notification: Performance of pre-optimization done (n=25): time 1.814e-06/1.135, allocations: 0 / 1.501 GB, free: 3.656 MB / 1.17 GB Notification: Performance of matching and sorting (n=25): time 0.01658/1.152, allocations: 1.736 MB / 1.502 GB, free: 1.871 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.152, allocations: 55.34 kB / 1.502 GB, free: 1.805 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/1.152, allocations: 304.6 kB / 1.503 GB, free: 1.5 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/1.152, allocations: 33.7 kB / 1.503 GB, free: 1.461 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/1.153, allocations: 168.4 kB / 1.503 GB, free: 1.293 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/1.153, allocations: 87.23 kB / 1.503 GB, free: 1.207 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/1.153, allocations: 77.86 kB / 1.503 GB, free: 1.121 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.153, allocations: 350.8 kB / 1.503 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/1.154, allocations: 200.4 kB / 1.504 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/1.155, allocations: 255 kB / 1.504 GB, free: 312 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/1.158, allocations: 446.8 kB / 1.504 GB, free: 15.86 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.158, allocations: 4 kB / 1.504 GB, free: 15.86 MB / 1.186 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007188/1.165, allocations: 0.8929 MB / 1.505 GB, free: 14.95 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.165, allocations: 4 kB / 1.505 GB, free: 14.95 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.165, allocations: 4 kB / 1.505 GB, free: 14.94 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/1.167, allocations: 289.3 kB / 1.505 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/1.167, allocations: 59.95 kB / 1.505 GB, free: 14.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/1.183, allocations: 4.103 MB / 1.509 GB, free: 10.21 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009732/1.183, allocations: 67.69 kB / 1.51 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/1.184, allocations: 23.97 kB / 1.51 GB, free: 10.12 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.0002406/1.184, allocations: 141.7 kB / 1.51 GB, free: 9.973 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/1.184, allocations: 31.81 kB / 1.51 GB, free: 9.941 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007554/1.191, allocations: 0.9619 MB / 1.511 GB, free: 8.973 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/1.191, allocations: 4 kB / 1.511 GB, free: 8.969 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/1.191, allocations: 0 / 1.511 GB, free: 8.969 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/1.191, allocations: 3.984 kB / 1.511 GB, free: 8.965 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008006/1.199, allocations: 1.352 MB / 1.512 GB, free: 7.543 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.199, allocations: 0 / 1.512 GB, free: 7.543 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/1.2, allocations: 59.88 kB / 1.512 GB, free: 7.484 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/1.202, allocations: 281.4 kB / 1.512 GB, free: 7.203 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/1.202, allocations: 15.97 kB / 1.512 GB, free: 7.188 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/1.217, allocations: 4.097 MB / 1.516 GB, free: 2.809 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.217, allocations: 0 / 1.516 GB, free: 2.809 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007519/1.225, allocations: 0.9747 MB / 1.517 GB, free: 1.805 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/1.225, allocations: 112.8 kB / 1.517 GB, free: 1.676 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.926e-05/1.225, allocations: 7.984 kB / 1.517 GB, free: 1.668 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008037/1.226, allocations: 43.95 kB / 1.517 GB, free: 1.625 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-05/1.226, allocations: 15.98 kB / 1.517 GB, free: 1.609 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/1.226, allocations: 19.97 kB / 1.517 GB, free: 1.59 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000279/1.226, allocations: 219.1 kB / 1.518 GB, free: 1.375 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.226, allocations: 7.938 kB / 1.518 GB, free: 1.367 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006808/1.227, allocations: 119.9 kB / 1.518 GB, free: 1.25 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.007756/1.234, allocations: 1.519 MB / 1.519 GB, free: 15.69 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003058/1.238, allocations: 0.7155 MB / 1.52 GB, free: 14.95 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.238, allocations: 0 / 1.52 GB, free: 14.95 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/1.239, allocations: 0.4895 MB / 1.52 GB, free: 14.43 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007364/1.24, allocations: 119.2 kB / 1.521 GB, free: 14.32 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/1.261, allocations: 4.45 MB / 1.525 GB, free: 9.758 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/1.261, allocations: 0.7645 MB / 1.526 GB, free: 8.969 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004452/1.262, allocations: 86.88 kB / 1.526 GB, free: 8.883 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/1.262, allocations: 103.4 kB / 1.526 GB, free: 8.781 MB / 1.201 GB Notification: Performance of SimCode: time 6.01e-07/1.262, allocations: 4 kB / 1.526 GB, free: 8.777 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04676/1.309, allocations: 16.64 MB / 1.542 GB, free: 8.328 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.7, allocations: 17.97 kB / 1.542 GB, free: 8.312 MB / 1.217 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 840.0] 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: 21.350568029971328]