Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001568/0.001568, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.002103/0.002103, allocations: 214.3 kB / 23.04 MB, free: 5.07 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.298/3.298, allocations: 0.49 GB / 0.7959 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_12_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.001947/0.001947, allocations: 67.55 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3331, allocations: 176.1 MB / 1.327 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003904/0.337, allocations: 2.349 MB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1911/0.5281, allocations: 155.4 MB / 1.481 GB, free: 3.633 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.5282, allocations: 7.938 kB / 1.481 GB, free: 3.625 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.5284, allocations: 47.45 kB / 1.481 GB, free: 3.578 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.5288, allocations: 103.2 kB / 1.481 GB, free: 3.477 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.5295, allocations: 310.9 kB / 1.481 GB, free: 3.172 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.53, allocations: 431.7 kB / 1.482 GB, free: 2.742 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.5302, allocations: 76.27 kB / 1.482 GB, free: 2.664 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.5317, allocations: 287.2 kB / 1.482 GB, free: 2.406 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.532, allocations: 179.3 kB / 1.482 GB, free: 2.23 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 7.7e-05/0.532, allocations: 31.94 kB / 1.482 GB, free: 2.199 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.5326, allocations: 291.6 kB / 1.482 GB, free: 1.914 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 8.978e-05/0.5327, allocations: 79.73 kB / 1.482 GB, free: 1.836 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.5328, allocations: 159.2 kB / 1.483 GB, free: 1.68 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006589/0.5335, allocations: 0.4981 MB / 1.483 GB, free: 1.18 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5335, allocations: 3.938 kB / 1.483 GB, free: 1.176 MB / 1.17 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5335, allocations: 0 / 1.483 GB, free: 1.176 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5335, allocations: 0 / 1.483 GB, free: 1.176 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.001537/0.535, allocations: 0.6375 MB / 1.484 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.5351, allocations: 12.03 kB / 1.484 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.064e-05/0.5351, allocations: 8.844 kB / 1.484 GB, free: 500 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.785e-05/0.5352, allocations: 70.47 kB / 1.484 GB, free: 420 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.5382, allocations: 291.5 kB / 1.484 GB, free: 128 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.5386, allocations: 233.6 kB / 1.484 GB, free: 15.87 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.5386, allocations: 24.64 kB / 1.484 GB, free: 15.85 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/0.5387, allocations: 35.94 kB / 1.484 GB, free: 15.81 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.5402, allocations: 425.8 kB / 1.485 GB, free: 15.39 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5402, allocations: 0 / 1.485 GB, free: 15.39 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.5403, allocations: 15.94 kB / 1.485 GB, free: 15.38 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.5403, allocations: 4 kB / 1.485 GB, free: 15.37 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.5427, allocations: 0.5256 MB / 1.485 GB, free: 14.84 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003317/0.546, allocations: 1.107 MB / 1.486 GB, free: 13.69 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.5484, allocations: 450.3 kB / 1.487 GB, free: 13.24 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.5495, allocations: 212.7 kB / 1.487 GB, free: 13.03 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.5495, allocations: 4 kB / 1.487 GB, free: 13.03 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.5496, allocations: 42.5 kB / 1.487 GB, free: 12.98 MB / 1.186 GB Notification: Performance of pre-optimization done (n=25): time 2.916e-06/0.5496, allocations: 0 / 1.487 GB, free: 12.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=25): time 0.01615/0.5657, allocations: 1.576 MB / 1.489 GB, free: 11.39 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.5658, allocations: 59.39 kB / 1.489 GB, free: 11.32 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.5661, allocations: 300.6 kB / 1.489 GB, free: 11.02 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/0.5662, allocations: 29.7 kB / 1.489 GB, free: 10.98 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.5664, allocations: 176.5 kB / 1.489 GB, free: 10.8 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.5665, allocations: 87.2 kB / 1.489 GB, free: 10.72 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.5667, allocations: 77.88 kB / 1.489 GB, free: 10.63 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5668, allocations: 342.8 kB / 1.49 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.5679, allocations: 208.4 kB / 1.49 GB, free: 10.09 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.5691, allocations: 258.9 kB / 1.49 GB, free: 9.812 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.5713, allocations: 434.8 kB / 1.49 GB, free: 9.379 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5713, allocations: 0 / 1.49 GB, free: 9.379 MB / 1.186 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007338/0.5787, allocations: 0.8929 MB / 1.491 GB, free: 8.473 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.5787, allocations: 4 kB / 1.491 GB, free: 8.469 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5787, allocations: 3.938 kB / 1.491 GB, free: 8.465 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/0.5807, allocations: 281.3 kB / 1.492 GB, free: 8.184 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.5811, allocations: 63.92 kB / 1.492 GB, free: 8.121 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/0.5966, allocations: 3.892 MB / 1.495 GB, free: 4 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008466/0.5975, allocations: 75.69 kB / 1.496 GB, free: 3.926 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.5975, allocations: 23.95 kB / 1.496 GB, free: 3.902 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.0002177/0.5977, allocations: 139.6 kB / 1.496 GB, free: 3.758 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.781e-05/0.5978, allocations: 39.7 kB / 1.496 GB, free: 3.719 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007526/0.6054, allocations: 0.9426 MB / 1.497 GB, free: 2.762 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.6054, allocations: 4 kB / 1.497 GB, free: 2.758 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6054, allocations: 3.984 kB / 1.497 GB, free: 2.754 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6054, allocations: 0 / 1.497 GB, free: 2.754 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/0.606, allocations: 404 kB / 1.497 GB, free: 2.316 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.606, allocations: 0 / 1.497 GB, free: 2.316 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.6064, allocations: 51.89 kB / 1.497 GB, free: 2.266 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/0.6083, allocations: 281.4 kB / 1.497 GB, free: 1.984 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.6084, allocations: 15.97 kB / 1.497 GB, free: 1.969 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/0.6236, allocations: 3.878 MB / 1.501 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6236, allocations: 0 / 1.501 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007312/0.6309, allocations: 0.9613 MB / 1.502 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-05/0.631, allocations: 35.75 kB / 1.502 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.16e-05/0.6311, allocations: 11.94 kB / 1.502 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000745/0.6318, allocations: 43.95 kB / 1.502 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.6319, allocations: 27.89 kB / 1.502 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.632, allocations: 11.97 kB / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002643/0.6322, allocations: 227.1 kB / 1.502 GB, free: 12.53 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6322, allocations: 3.938 kB / 1.502 GB, free: 12.52 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006042/0.6328, allocations: 111.9 kB / 1.503 GB, free: 12.41 MB / 1.201 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.007681/0.6405, allocations: 1.518 MB / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002952/0.6435, allocations: 0.716 MB / 1.505 GB, free: 10.12 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6435, allocations: 0 / 1.505 GB, free: 10.12 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.6451, allocations: 497.1 kB / 1.505 GB, free: 9.609 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006975/0.6458, allocations: 105.3 kB / 1.505 GB, free: 9.508 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/0.6659, allocations: 4.394 MB / 1.51 GB, free: 5.016 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.6664, allocations: 0.7645 MB / 1.51 GB, free: 4.227 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005589/0.6669, allocations: 78.88 kB / 1.51 GB, free: 4.148 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.6672, allocations: 111.4 kB / 1.511 GB, free: 4.039 MB / 1.201 GB Notification: Performance of SimCode: time 5.71e-07/0.6672, allocations: 0 / 1.511 GB, free: 4.039 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04783/0.715, allocations: 17.08 MB / 1.527 GB, free: 3.176 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.51, allocations: 19.72 kB / 1.527 GB, free: 3.168 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.55065750196809]