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.001623/0.001623, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002014/0.002014, allocations: 214.9 kB / 23.03 MB, free: 4.922 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.845/2.845, allocations: 476.8 MB / 0.7715 GB, free: 3.871 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_11_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.002007/0.002007, allocations: 66.89 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2908, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003668/0.2945, allocations: 2.198 MB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1694/0.464, allocations: 133.5 MB / 1.417 GB, free: 2.457 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.4642, allocations: 7.938 kB / 1.417 GB, free: 2.449 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.4644, allocations: 47.47 kB / 1.417 GB, free: 2.402 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.4649, allocations: 107.2 kB / 1.417 GB, free: 2.297 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007868/0.4656, allocations: 303 kB / 1.417 GB, free: 2 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.4662, allocations: 431.7 kB / 1.417 GB, free: 1.578 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.4664, allocations: 72.28 kB / 1.418 GB, free: 1.504 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.468, allocations: 294.3 kB / 1.418 GB, free: 1.238 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.4683, allocations: 191.2 kB / 1.418 GB, free: 1.051 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/0.4683, allocations: 32 kB / 1.418 GB, free: 1.02 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005307/0.4688, allocations: 275.6 kB / 1.418 GB, free: 0.75 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.4689, allocations: 79.73 kB / 1.418 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.4691, allocations: 131.4 kB / 1.418 GB, free: 0.543 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0006789/0.4698, allocations: 0.4994 MB / 1.419 GB, free: 44 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4698, allocations: 0 / 1.419 GB, free: 44 kB / 1.107 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4698, allocations: 0 / 1.419 GB, free: 44 kB / 1.107 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.4698, allocations: 0 / 1.419 GB, free: 44 kB / 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.001485/0.4713, allocations: 0.6454 MB / 1.42 GB, free: 15.36 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4713, allocations: 12.03 kB / 1.42 GB, free: 15.35 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.999e-05/0.4713, allocations: 4.844 kB / 1.42 GB, free: 15.35 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.026e-05/0.4714, allocations: 62.48 kB / 1.42 GB, free: 15.28 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/0.4747, allocations: 291.5 kB / 1.42 GB, free: 14.99 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.4751, allocations: 237.6 kB / 1.42 GB, free: 14.73 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.4751, allocations: 28.59 kB / 1.42 GB, free: 14.7 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/0.4752, allocations: 28 kB / 1.42 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.4768, allocations: 425.8 kB / 1.421 GB, free: 14.25 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4768, allocations: 0 / 1.421 GB, free: 14.25 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.4768, allocations: 15.94 kB / 1.421 GB, free: 14.24 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4768, allocations: 8 kB / 1.421 GB, free: 14.23 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.4793, allocations: 0.5256 MB / 1.421 GB, free: 13.71 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.4824, allocations: 1.029 MB / 1.422 GB, free: 12.64 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.4848, allocations: 442.3 kB / 1.423 GB, free: 12.2 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.4859, allocations: 212.7 kB / 1.423 GB, free: 11.98 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.4859, allocations: 11.98 kB / 1.423 GB, free: 11.97 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.4859, allocations: 38.5 kB / 1.423 GB, free: 11.93 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.486, allocations: 0 / 1.423 GB, free: 11.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.01691/0.5029, allocations: 1.578 MB / 1.424 GB, free: 10.34 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.5029, allocations: 51.41 kB / 1.424 GB, free: 10.27 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.5033, allocations: 308.5 kB / 1.425 GB, free: 9.965 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.5033, allocations: 29.7 kB / 1.425 GB, free: 9.93 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.5035, allocations: 168.5 kB / 1.425 GB, free: 9.762 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.5036, allocations: 91.2 kB / 1.425 GB, free: 9.672 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.5037, allocations: 81.92 kB / 1.425 GB, free: 9.582 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.5039, allocations: 342.7 kB / 1.425 GB, free: 9.238 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.5051, allocations: 204.4 kB / 1.426 GB, free: 9.039 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.5063, allocations: 377.6 kB / 1.426 GB, free: 8.625 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/0.5085, allocations: 426.8 kB / 1.426 GB, free: 8.199 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5085, allocations: 0 / 1.426 GB, free: 8.199 MB / 1.123 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007532/0.516, allocations: 0.8967 MB / 1.427 GB, free: 7.289 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.516, allocations: 10.34 kB / 1.427 GB, free: 7.281 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.5161, allocations: 0 / 1.427 GB, free: 7.281 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/0.5181, allocations: 285.4 kB / 1.428 GB, free: 6.996 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.5186, allocations: 63.88 kB / 1.428 GB, free: 6.934 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/0.5343, allocations: 3.861 MB / 1.431 GB, free: 2.844 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008532/0.5351, allocations: 75.69 kB / 1.431 GB, free: 2.77 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.5352, allocations: 15.97 kB / 1.431 GB, free: 2.754 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.0002114/0.5354, allocations: 137.8 kB / 1.432 GB, free: 2.609 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/0.5355, allocations: 39.77 kB / 1.432 GB, free: 2.57 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007897/0.5434, allocations: 0.9458 MB / 1.433 GB, free: 1.609 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.5434, allocations: 0 / 1.433 GB, free: 1.609 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.5434, allocations: 0 / 1.433 GB, free: 1.609 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.5434, allocations: 3.984 kB / 1.433 GB, free: 1.605 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.5439, allocations: 328.4 kB / 1.433 GB, free: 1.242 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5439, allocations: 3.938 kB / 1.433 GB, free: 1.238 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.5443, allocations: 59.89 kB / 1.433 GB, free: 1.18 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/0.5463, allocations: 281.4 kB / 1.433 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.5463, allocations: 11.97 kB / 1.433 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/0.5619, allocations: 3.842 MB / 1.437 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5619, allocations: 0 / 1.437 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007554/0.5694, allocations: 0.9611 MB / 1.438 GB, free: 11.83 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.5695, allocations: 31.73 kB / 1.438 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.697e-05/0.5696, allocations: 19.83 kB / 1.438 GB, free: 11.78 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.5703, allocations: 43.95 kB / 1.438 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.5704, allocations: 27.89 kB / 1.438 GB, free: 11.71 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.5704, allocations: 11.97 kB / 1.438 GB, free: 11.7 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002502/0.5707, allocations: 227.1 kB / 1.438 GB, free: 11.47 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5707, allocations: 0 / 1.438 GB, free: 11.47 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005715/0.5713, allocations: 111.9 kB / 1.438 GB, free: 11.36 MB / 1.139 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.007938/0.5792, allocations: 1.514 MB / 1.44 GB, free: 9.816 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002829/0.582, allocations: 0.7161 MB / 1.441 GB, free: 9.074 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.582, allocations: 0 / 1.441 GB, free: 9.074 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.5836, allocations: 493.2 kB / 1.441 GB, free: 8.566 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.5843, allocations: 101.3 kB / 1.441 GB, free: 8.469 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/0.6047, allocations: 4.398 MB / 1.445 GB, free: 3.977 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.6049, allocations: 168.4 kB / 1.446 GB, free: 3.785 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003891/0.6053, allocations: 78.88 kB / 1.446 GB, free: 3.707 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.6055, allocations: 103.4 kB / 1.446 GB, free: 3.605 MB / 1.139 GB Notification: Performance of SimCode: time 1.412e-06/0.6055, allocations: 0 / 1.446 GB, free: 3.605 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0483/0.6538, allocations: 18.08 MB / 1.463 GB, free: 1.84 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.48, allocations: 15.98 kB / 1.463 GB, free: 1.824 MB / 1.154 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 420.0] 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: 21.25936200900469]