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.001797/0.001797, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002123/0.002123, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.801 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.308/3.308, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",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.002094/0.002094, allocations: 67.89 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.393, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003985/0.397, allocations: 2.194 MB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1802/0.5772, allocations: 133.6 MB / 1.496 GB, free: 5.773 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002814/0.5775, allocations: 7.938 kB / 1.496 GB, free: 5.766 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.5777, allocations: 47.47 kB / 1.496 GB, free: 5.719 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.5783, allocations: 99.19 kB / 1.496 GB, free: 5.621 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.5794, allocations: 311 kB / 1.496 GB, free: 5.316 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007622/0.5801, allocations: 427.6 kB / 1.497 GB, free: 4.895 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.5804, allocations: 76.25 kB / 1.497 GB, free: 4.816 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.5821, allocations: 284.9 kB / 1.497 GB, free: 4.559 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.5825, allocations: 179.2 kB / 1.497 GB, free: 4.383 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.835e-05/0.5826, allocations: 28 kB / 1.497 GB, free: 4.355 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.5832, allocations: 263.6 kB / 1.498 GB, free: 4.098 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.5833, allocations: 83.72 kB / 1.498 GB, free: 4.016 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.5834, allocations: 135.4 kB / 1.498 GB, free: 3.883 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0008173/0.5843, allocations: 0.4904 MB / 1.498 GB, free: 3.391 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5843, allocations: 0 / 1.498 GB, free: 3.391 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5843, allocations: 0 / 1.498 GB, free: 3.391 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.5843, allocations: 0 / 1.498 GB, free: 3.391 MB / 1.186 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.001675/0.586, allocations: 0.6375 MB / 1.499 GB, free: 2.723 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.586, allocations: 11.97 kB / 1.499 GB, free: 2.711 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.5861, allocations: 58.73 kB / 1.499 GB, free: 2.645 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003352/0.5895, allocations: 323.4 kB / 1.499 GB, free: 2.328 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005285/0.59, allocations: 245.6 kB / 1.5 GB, free: 2.062 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.59, allocations: 20.66 kB / 1.5 GB, free: 2.043 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-05/0.5901, allocations: 28 kB / 1.5 GB, free: 2.016 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.5916, allocations: 441.7 kB / 1.5 GB, free: 1.582 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5916, allocations: 0 / 1.5 GB, free: 1.582 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.5916, allocations: 19.94 kB / 1.5 GB, free: 1.562 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.5917, allocations: 4 kB / 1.5 GB, free: 1.559 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.594, allocations: 0.5256 MB / 1.501 GB, free: 1.027 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00331/0.5973, allocations: 1.046 MB / 1.502 GB, free: 15.93 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.5996, allocations: 443.8 kB / 1.502 GB, free: 15.49 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.6007, allocations: 220.6 kB / 1.502 GB, free: 15.27 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.6007, allocations: 4 kB / 1.502 GB, free: 15.27 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.6008, allocations: 38.31 kB / 1.502 GB, free: 15.22 MB / 1.201 GB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.6008, allocations: 4 kB / 1.502 GB, free: 15.22 MB / 1.201 GB Notification: Performance of matching and sorting (n=25): time 0.01522/0.616, allocations: 1.582 MB / 1.504 GB, free: 13.62 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.616, allocations: 55.41 kB / 1.504 GB, free: 13.56 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.6164, allocations: 304.5 kB / 1.504 GB, free: 13.26 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.6165, allocations: 37.64 kB / 1.504 GB, free: 13.21 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.6166, allocations: 164.5 kB / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.6167, allocations: 91.22 kB / 1.504 GB, free: 12.96 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.6169, allocations: 73.92 kB / 1.505 GB, free: 12.88 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6171, allocations: 346.7 kB / 1.505 GB, free: 12.53 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.6181, allocations: 204.4 kB / 1.505 GB, free: 12.33 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.6193, allocations: 369.7 kB / 1.505 GB, free: 11.93 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/0.6214, allocations: 438.2 kB / 1.506 GB, free: 11.49 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.6214, allocations: 4 kB / 1.506 GB, free: 11.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007022/0.6284, allocations: 0.9089 MB / 1.507 GB, free: 10.56 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.6284, allocations: 4 kB / 1.507 GB, free: 10.56 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6284, allocations: 0 / 1.507 GB, free: 10.56 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/0.6303, allocations: 281.4 kB / 1.507 GB, free: 10.28 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.6308, allocations: 71.88 kB / 1.507 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/0.6455, allocations: 3.835 MB / 1.511 GB, free: 6.145 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008427/0.6464, allocations: 71.78 kB / 1.511 GB, free: 6.074 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/0.6464, allocations: 23.97 kB / 1.511 GB, free: 6.051 MB / 1.201 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.0002205/0.6467, allocations: 145.8 kB / 1.511 GB, free: 5.898 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.6468, allocations: 35.77 kB / 1.511 GB, free: 5.863 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007209/0.654, allocations: 0.9613 MB / 1.512 GB, free: 4.887 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.654, allocations: 3.984 kB / 1.512 GB, free: 4.883 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.654, allocations: 8 kB / 1.512 GB, free: 4.875 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.654, allocations: 0 / 1.512 GB, free: 4.875 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007416/0.6614, allocations: 1.263 MB / 1.513 GB, free: 3.551 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6614, allocations: 0 / 1.513 GB, free: 3.551 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.6618, allocations: 59.95 kB / 1.513 GB, free: 3.492 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.6636, allocations: 285.2 kB / 1.514 GB, free: 3.207 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.6637, allocations: 19.97 kB / 1.514 GB, free: 3.188 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/0.6783, allocations: 3.839 MB / 1.517 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6783, allocations: 3.938 kB / 1.517 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006977/0.6853, allocations: 0.9706 MB / 1.518 GB, free: 14.11 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.6854, allocations: 39.73 kB / 1.518 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.865e-05/0.6855, allocations: 11.94 kB / 1.518 GB, free: 14.06 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007584/0.6862, allocations: 43.95 kB / 1.518 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.6863, allocations: 23.95 kB / 1.518 GB, free: 14 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.6864, allocations: 15.97 kB / 1.518 GB, free: 13.98 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002909/0.6867, allocations: 223.1 kB / 1.519 GB, free: 13.77 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6867, allocations: 0 / 1.519 GB, free: 13.77 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006791/0.6874, allocations: 119.8 kB / 1.519 GB, free: 13.65 MB / 1.217 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.00743/0.6948, allocations: 1.516 MB / 1.52 GB, free: 12.09 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002895/0.6977, allocations: 0.7279 MB / 1.521 GB, free: 11.34 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6977, allocations: 0 / 1.521 GB, free: 11.34 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.6993, allocations: 0.4894 MB / 1.521 GB, free: 10.82 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007138/0.7, allocations: 109.3 kB / 1.522 GB, free: 10.72 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01989/0.7199, allocations: 4.458 MB / 1.526 GB, free: 6.152 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.7201, allocations: 160.5 kB / 1.526 GB, free: 5.977 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005265/0.7206, allocations: 98.8 kB / 1.526 GB, free: 5.883 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.7209, allocations: 95.39 kB / 1.526 GB, free: 5.789 MB / 1.217 GB Notification: Performance of SimCode: time 8.21e-07/0.7209, allocations: 0 / 1.526 GB, free: 5.789 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05815/0.779, allocations: 18.31 MB / 1.544 GB, free: 3.727 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.93, allocations: 7.531 kB / 1.544 GB, free: 3.727 MB / 1.232 GB " [Timeout remaining time 286] (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.078792752232403]