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.00133/0.00133, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001546/0.001546, allocations: 216 kB / 23.03 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.766 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.216/3.216, allocations: 0.5003 GB / 0.8062 GB, free: 28.46 MB / 0.6231 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.002048/0.002048, allocations: 70.25 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3701, allocations: 179 MB / 1.345 GB, free: 156 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00402/0.3742, allocations: 2.189 MB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.175/0.5492, allocations: 133.6 MB / 1.478 GB, free: 7.887 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.5495, allocations: 7.938 kB / 1.478 GB, free: 7.879 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.5498, allocations: 47.47 kB / 1.478 GB, free: 7.832 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0004986/0.5503, allocations: 103.2 kB / 1.478 GB, free: 7.73 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008998/0.5512, allocations: 303 kB / 1.478 GB, free: 7.434 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.5517, allocations: 427.7 kB / 1.479 GB, free: 7.012 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.552, allocations: 84.25 kB / 1.479 GB, free: 6.926 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.5535, allocations: 286.5 kB / 1.479 GB, free: 6.668 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.5538, allocations: 191.2 kB / 1.479 GB, free: 6.48 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.5538, allocations: 28 kB / 1.479 GB, free: 6.453 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005399/0.5544, allocations: 271.6 kB / 1.479 GB, free: 6.188 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.5545, allocations: 83.72 kB / 1.48 GB, free: 6.105 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.5546, allocations: 131.4 kB / 1.48 GB, free: 5.977 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.5554, allocations: 0.4981 MB / 1.48 GB, free: 5.477 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5554, allocations: 0 / 1.48 GB, free: 5.477 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5554, allocations: 0 / 1.48 GB, free: 5.477 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.5554, allocations: 3.938 kB / 1.48 GB, free: 5.473 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.001484/0.5569, allocations: 0.6388 MB / 1.481 GB, free: 4.805 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5569, allocations: 8.031 kB / 1.481 GB, free: 4.797 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.522e-05/0.5569, allocations: 12.84 kB / 1.481 GB, free: 4.785 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.985e-05/0.557, allocations: 70.41 kB / 1.481 GB, free: 4.707 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003699/0.5607, allocations: 311.5 kB / 1.481 GB, free: 4.402 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.5612, allocations: 241.6 kB / 1.481 GB, free: 4.141 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.5612, allocations: 20.66 kB / 1.481 GB, free: 4.117 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.5613, allocations: 24 kB / 1.481 GB, free: 4.094 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.5629, allocations: 441.7 kB / 1.482 GB, free: 3.66 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5629, allocations: 4 kB / 1.482 GB, free: 3.656 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/0.563, allocations: 11.94 kB / 1.482 GB, free: 3.645 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.563, allocations: 8 kB / 1.482 GB, free: 3.637 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.5656, allocations: 0.5295 MB / 1.482 GB, free: 3.105 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00341/0.569, allocations: 1.034 MB / 1.483 GB, free: 2.027 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.5715, allocations: 450.3 kB / 1.484 GB, free: 1.578 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.5726, allocations: 216.7 kB / 1.484 GB, free: 1.363 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.5727, allocations: 4 kB / 1.484 GB, free: 1.359 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.5727, allocations: 42.5 kB / 1.484 GB, free: 1.309 MB / 1.17 GB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/0.5727, allocations: 0 / 1.484 GB, free: 1.309 MB / 1.17 GB Notification: Performance of matching and sorting (n=25): time 0.01797/0.5907, allocations: 1.592 MB / 1.486 GB, free: 15.7 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.5907, allocations: 51.41 kB / 1.486 GB, free: 15.64 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.5911, allocations: 300.6 kB / 1.486 GB, free: 15.34 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.359e-05/0.5912, allocations: 33.69 kB / 1.486 GB, free: 15.3 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.5913, allocations: 168.5 kB / 1.486 GB, free: 15.13 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.5914, allocations: 91.22 kB / 1.486 GB, free: 15.04 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.5916, allocations: 81.88 kB / 1.486 GB, free: 14.95 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5918, allocations: 342.7 kB / 1.487 GB, free: 14.61 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.5929, allocations: 204.4 kB / 1.487 GB, free: 14.41 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.5942, allocations: 369.8 kB / 1.487 GB, free: 14 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.5965, allocations: 438.2 kB / 1.488 GB, free: 13.57 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5965, allocations: 0 / 1.488 GB, free: 13.57 MB / 1.186 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007737/0.6042, allocations: 0.9012 MB / 1.489 GB, free: 12.65 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.6043, allocations: 5.875 kB / 1.489 GB, free: 12.65 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.6043, allocations: 7.984 kB / 1.489 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/0.6063, allocations: 273.3 kB / 1.489 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.6069, allocations: 71.88 kB / 1.489 GB, free: 12.3 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/0.623, allocations: 3.856 MB / 1.493 GB, free: 8.215 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009781/0.6239, allocations: 71.62 kB / 1.493 GB, free: 8.145 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.589e-05/0.624, allocations: 23.97 kB / 1.493 GB, free: 8.121 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.0002574/0.6243, allocations: 137.8 kB / 1.493 GB, free: 7.977 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.6244, allocations: 31.81 kB / 1.493 GB, free: 7.945 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008272/0.6327, allocations: 0.9509 MB / 1.494 GB, free: 6.98 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.6327, allocations: 4 kB / 1.494 GB, free: 6.977 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6327, allocations: 0 / 1.494 GB, free: 6.977 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.6327, allocations: 3.984 kB / 1.494 GB, free: 6.973 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008525/0.6412, allocations: 1.261 MB / 1.495 GB, free: 5.648 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.6412, allocations: 0 / 1.495 GB, free: 5.648 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.6417, allocations: 55.95 kB / 1.495 GB, free: 5.594 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/0.6437, allocations: 289.3 kB / 1.495 GB, free: 5.305 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.6438, allocations: 15.97 kB / 1.495 GB, free: 5.289 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01641/0.6602, allocations: 3.851 MB / 1.499 GB, free: 1.211 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6602, allocations: 0 / 1.499 GB, free: 1.211 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.6704, allocations: 0.9786 MB / 1.5 GB, free: 208 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.6705, allocations: 43.69 kB / 1.5 GB, free: 164 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.6707, allocations: 4 kB / 1.5 GB, free: 160 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.672, allocations: 47.95 kB / 1.5 GB, free: 112 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.6721, allocations: 19.91 kB / 1.5 GB, free: 92 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.321e-05/0.6722, allocations: 15.97 kB / 1.5 GB, free: 76 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000415/0.6726, allocations: 223.1 kB / 1.5 GB, free: 15.86 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6726, allocations: 0 / 1.5 GB, free: 15.86 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009013/0.6735, allocations: 111.9 kB / 1.501 GB, free: 15.75 MB / 1.201 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.008533/0.682, allocations: 1.527 MB / 1.502 GB, free: 14.18 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003398/0.6854, allocations: 0.7234 MB / 1.503 GB, free: 13.43 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.6854, allocations: 0 / 1.503 GB, free: 13.43 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.6872, allocations: 498.3 kB / 1.503 GB, free: 12.92 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007732/0.688, allocations: 105.4 kB / 1.503 GB, free: 12.82 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02277/0.7108, allocations: 4.469 MB / 1.508 GB, free: 8.234 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.711, allocations: 164.4 kB / 1.508 GB, free: 8.055 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005027/0.7115, allocations: 82.88 kB / 1.508 GB, free: 7.973 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.7117, allocations: 99.38 kB / 1.508 GB, free: 7.875 MB / 1.201 GB Notification: Performance of SimCode: time 1.322e-06/0.7117, allocations: 0 / 1.508 GB, free: 7.875 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06991/0.7816, allocations: 17.98 MB / 1.526 GB, free: 6.172 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.96, allocations: 8.062 kB / 1.526 GB, free: 6.164 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.833842011052184]