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.002296/0.002296, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002498/0.002498, allocations: 219.6 kB / 22.26 MB, free: 5.121 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.961 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.574/3.574, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.002494/0.002494, allocations: 71.28 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3443, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003667/0.348, allocations: 2.341 MB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2028/0.5507, allocations: 155.4 MB / 1.507 GB, free: 10.11 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.5511, allocations: 7.938 kB / 1.507 GB, free: 10.1 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.5514, allocations: 47.47 kB / 1.507 GB, free: 10.05 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0005897/0.552, allocations: 99.19 kB / 1.507 GB, free: 9.957 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.553, allocations: 306.9 kB / 1.507 GB, free: 9.656 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007126/0.5538, allocations: 427.8 kB / 1.508 GB, free: 9.234 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.554, allocations: 76.28 kB / 1.508 GB, free: 9.16 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.5559, allocations: 299.3 kB / 1.508 GB, free: 8.891 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.5563, allocations: 179.3 kB / 1.508 GB, free: 8.715 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.5563, allocations: 32 kB / 1.508 GB, free: 8.684 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000678/0.557, allocations: 283.5 kB / 1.509 GB, free: 8.406 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.5571, allocations: 79.73 kB / 1.509 GB, free: 8.328 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.5573, allocations: 171.2 kB / 1.509 GB, free: 8.16 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0009364/0.5583, allocations: 0.4941 MB / 1.509 GB, free: 7.664 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5583, allocations: 0 / 1.509 GB, free: 7.664 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5583, allocations: 0 / 1.509 GB, free: 7.664 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.5583, allocations: 0 / 1.509 GB, free: 7.664 MB / 1.201 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.001764/0.5601, allocations: 0.6433 MB / 1.51 GB, free: 6.992 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.5601, allocations: 8.031 kB / 1.51 GB, free: 6.984 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.224e-05/0.5602, allocations: 62.72 kB / 1.51 GB, free: 6.914 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003447/0.5636, allocations: 319.4 kB / 1.51 GB, free: 6.602 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.5642, allocations: 249.5 kB / 1.511 GB, free: 6.332 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.5642, allocations: 20.66 kB / 1.511 GB, free: 6.312 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.5643, allocations: 28 kB / 1.511 GB, free: 6.285 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.5659, allocations: 437.7 kB / 1.511 GB, free: 5.848 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.5659, allocations: 0 / 1.511 GB, free: 5.848 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.5659, allocations: 11.94 kB / 1.511 GB, free: 5.836 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.566, allocations: 8 kB / 1.511 GB, free: 5.828 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.5684, allocations: 0.5373 MB / 1.512 GB, free: 5.293 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003655/0.5721, allocations: 1.108 MB / 1.513 GB, free: 4.141 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.5744, allocations: 447 kB / 1.513 GB, free: 3.695 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.5755, allocations: 216.7 kB / 1.513 GB, free: 3.48 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-05/0.5755, allocations: 8.391 kB / 1.513 GB, free: 3.473 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.5756, allocations: 38.5 kB / 1.513 GB, free: 3.426 MB / 1.201 GB Notification: Performance of pre-optimization done (n=25): time 5.911e-06/0.5756, allocations: 7.922 kB / 1.513 GB, free: 3.418 MB / 1.201 GB Notification: Performance of matching and sorting (n=25): time 0.01569/0.5913, allocations: 1.587 MB / 1.515 GB, free: 1.816 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.5913, allocations: 59.41 kB / 1.515 GB, free: 1.746 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.5918, allocations: 296.6 kB / 1.515 GB, free: 1.449 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.436e-05/0.5919, allocations: 29.7 kB / 1.515 GB, free: 1.414 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.5921, allocations: 176.5 kB / 1.515 GB, free: 1.234 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.5922, allocations: 87.22 kB / 1.515 GB, free: 1.148 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.5924, allocations: 81.88 kB / 1.516 GB, free: 1.059 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.5926, allocations: 338.8 kB / 1.516 GB, free: 0.7188 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.5937, allocations: 212.3 kB / 1.516 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.5948, allocations: 266.9 kB / 1.516 GB, free: 236 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.5969, allocations: 430.3 kB / 1.517 GB, free: 15.8 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5969, allocations: 0 / 1.517 GB, free: 15.8 MB / 1.217 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00708/0.604, allocations: 0.8973 MB / 1.518 GB, free: 14.89 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.604, allocations: 12 kB / 1.518 GB, free: 14.88 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.604, allocations: 0 / 1.518 GB, free: 14.88 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.6059, allocations: 273.4 kB / 1.518 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.6065, allocations: 75.81 kB / 1.518 GB, free: 14.53 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01493/0.6214, allocations: 3.888 MB / 1.522 GB, free: 10.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009114/0.6223, allocations: 75.69 kB / 1.522 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-05/0.6224, allocations: 15.97 kB / 1.522 GB, free: 10.32 MB / 1.217 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.00026/0.6226, allocations: 141.8 kB / 1.522 GB, free: 10.18 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.6228, allocations: 35.81 kB / 1.522 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007226/0.63, allocations: 0.9469 MB / 1.523 GB, free: 9.184 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.63, allocations: 0 / 1.523 GB, free: 9.184 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.63, allocations: 11.94 kB / 1.523 GB, free: 9.172 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.63, allocations: 7.922 kB / 1.523 GB, free: 9.164 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007692/0.6377, allocations: 1.32 MB / 1.524 GB, free: 7.781 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.6377, allocations: 0 / 1.524 GB, free: 7.781 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.6382, allocations: 59.88 kB / 1.524 GB, free: 7.723 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/0.64, allocations: 277.4 kB / 1.525 GB, free: 7.445 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/0.64, allocations: 19.91 kB / 1.525 GB, free: 7.426 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/0.6544, allocations: 3.885 MB / 1.528 GB, free: 3.305 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6544, allocations: 0 / 1.528 GB, free: 3.305 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00693/0.6613, allocations: 0.9825 MB / 1.529 GB, free: 2.293 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.6614, allocations: 39.7 kB / 1.529 GB, free: 2.254 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.6615, allocations: 8 kB / 1.529 GB, free: 2.246 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000747/0.6623, allocations: 47.94 kB / 1.529 GB, free: 2.199 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.6624, allocations: 15.97 kB / 1.529 GB, free: 2.184 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/0.6625, allocations: 19.97 kB / 1.529 GB, free: 2.164 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002695/0.6627, allocations: 219.1 kB / 1.53 GB, free: 1.949 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6627, allocations: 0 / 1.53 GB, free: 1.949 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006309/0.6634, allocations: 111.9 kB / 1.53 GB, free: 1.84 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.007394/0.6708, allocations: 1.536 MB / 1.531 GB, free: 272 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003236/0.674, allocations: 0.704 MB / 1.532 GB, free: 15.53 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.674, allocations: 0 / 1.532 GB, free: 15.53 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.6756, allocations: 0.4934 MB / 1.532 GB, free: 15.01 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.6764, allocations: 113.1 kB / 1.533 GB, free: 14.9 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/0.6966, allocations: 4.47 MB / 1.537 GB, free: 10.32 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.6971, allocations: 0.7684 MB / 1.538 GB, free: 9.52 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005648/0.6977, allocations: 82.89 kB / 1.538 GB, free: 9.441 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.6979, allocations: 103.4 kB / 1.538 GB, free: 9.34 MB / 1.232 GB Notification: Performance of SimCode: time 1.082e-06/0.6979, allocations: 0 / 1.538 GB, free: 9.34 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06319/0.7611, allocations: 16.96 MB / 1.554 GB, free: 8.57 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.3, allocations: 8.531 kB / 1.554 GB, free: 8.566 MB / 1.248 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.626936544198543]