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.001365/0.001365, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001517/0.001517, allocations: 217 kB / 23.04 MB, free: 5.074 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 8 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.883/2.883, allocations: 476.7 MB / 0.7714 GB, free: 4.297 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.002005/0.002005, allocations: 62.8 kB / 1.118 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2896, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003923/0.2935, allocations: 2.348 MB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.184/0.4775, allocations: 155.4 MB / 1.438 GB, free: 13.43 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.4778, allocations: 7.938 kB / 1.438 GB, free: 13.42 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.478, allocations: 47.45 kB / 1.438 GB, free: 13.37 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.4784, allocations: 103.2 kB / 1.438 GB, free: 13.27 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008632/0.4793, allocations: 307 kB / 1.439 GB, free: 12.97 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006055/0.4799, allocations: 435.6 kB / 1.439 GB, free: 12.54 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.4801, allocations: 72.28 kB / 1.439 GB, free: 12.47 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.4817, allocations: 289.4 kB / 1.439 GB, free: 12.21 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.482, allocations: 187.2 kB / 1.44 GB, free: 12.03 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.811e-05/0.4821, allocations: 39.94 kB / 1.44 GB, free: 11.99 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005876/0.4827, allocations: 279.6 kB / 1.44 GB, free: 11.71 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.4828, allocations: 83.72 kB / 1.44 GB, free: 11.63 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.483, allocations: 159.2 kB / 1.44 GB, free: 11.48 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0007951/0.4838, allocations: 0.4942 MB / 1.441 GB, free: 10.98 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.4838, allocations: 0 / 1.441 GB, free: 10.98 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4838, allocations: 0 / 1.441 GB, free: 10.98 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.4838, allocations: 4 kB / 1.441 GB, free: 10.98 MB / 1.139 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.001518/0.4853, allocations: 0.6336 MB / 1.441 GB, free: 10.31 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4853, allocations: 12.03 kB / 1.441 GB, free: 10.3 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.24e-05/0.4854, allocations: 8.844 kB / 1.441 GB, free: 10.29 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.834e-05/0.4854, allocations: 70.48 kB / 1.441 GB, free: 10.21 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/0.4886, allocations: 283.5 kB / 1.442 GB, free: 9.938 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.489, allocations: 241.6 kB / 1.442 GB, free: 9.676 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.489, allocations: 24.66 kB / 1.442 GB, free: 9.648 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.4891, allocations: 28 kB / 1.442 GB, free: 9.621 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.4906, allocations: 425.8 kB / 1.442 GB, free: 9.199 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4906, allocations: 4 kB / 1.442 GB, free: 9.195 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/0.4907, allocations: 15.94 kB / 1.442 GB, free: 9.18 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4907, allocations: 4 kB / 1.442 GB, free: 9.176 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.4932, allocations: 0.5294 MB / 1.443 GB, free: 8.648 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/0.4963, allocations: 1.104 MB / 1.444 GB, free: 7.5 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.4987, allocations: 446.7 kB / 1.444 GB, free: 7.055 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.4998, allocations: 220.8 kB / 1.444 GB, free: 6.836 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.4998, allocations: 11.94 kB / 1.444 GB, free: 6.824 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.4998, allocations: 42.44 kB / 1.445 GB, free: 6.773 MB / 1.139 GB Notification: Performance of pre-optimization done (n=25): time 1.793e-06/0.4998, allocations: 0 / 1.445 GB, free: 6.773 MB / 1.139 GB Notification: Performance of matching and sorting (n=25): time 0.01631/0.5161, allocations: 1.583 MB / 1.446 GB, free: 5.176 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.5162, allocations: 55.41 kB / 1.446 GB, free: 5.109 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.5166, allocations: 304.6 kB / 1.446 GB, free: 4.805 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.5167, allocations: 25.7 kB / 1.446 GB, free: 4.773 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.5168, allocations: 176.5 kB / 1.447 GB, free: 4.598 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.5169, allocations: 83.22 kB / 1.447 GB, free: 4.516 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.5171, allocations: 81.88 kB / 1.447 GB, free: 4.426 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5173, allocations: 346.7 kB / 1.447 GB, free: 4.078 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.5184, allocations: 204.4 kB / 1.447 GB, free: 3.879 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.5195, allocations: 259 kB / 1.448 GB, free: 3.605 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/0.5217, allocations: 438.8 kB / 1.448 GB, free: 3.168 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5217, allocations: 0 / 1.448 GB, free: 3.168 MB / 1.139 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007207/0.5289, allocations: 0.889 MB / 1.449 GB, free: 2.266 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5289, allocations: 9.969 kB / 1.449 GB, free: 2.258 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.529, allocations: 4 kB / 1.449 GB, free: 2.254 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.5309, allocations: 289.3 kB / 1.449 GB, free: 1.965 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/0.5314, allocations: 59.94 kB / 1.449 GB, free: 1.906 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/0.5471, allocations: 3.881 MB / 1.453 GB, free: 13.79 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009204/0.548, allocations: 75.69 kB / 1.453 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.5481, allocations: 19.97 kB / 1.453 GB, free: 13.7 MB / 1.154 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.000293/0.5484, allocations: 144.5 kB / 1.453 GB, free: 13.55 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.5485, allocations: 35.77 kB / 1.453 GB, free: 13.52 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007523/0.556, allocations: 0.9457 MB / 1.454 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.5561, allocations: 7.984 kB / 1.454 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5561, allocations: 0 / 1.454 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.5561, allocations: 0 / 1.454 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.5567, allocations: 396.2 kB / 1.455 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5567, allocations: 4 kB / 1.455 GB, free: 12.11 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.5571, allocations: 51.89 kB / 1.455 GB, free: 12.06 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001902/0.559, allocations: 281.4 kB / 1.455 GB, free: 11.78 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/0.5591, allocations: 19.97 kB / 1.455 GB, free: 11.76 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01511/0.5742, allocations: 3.87 MB / 1.459 GB, free: 7.66 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5742, allocations: 0 / 1.459 GB, free: 7.66 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007295/0.5815, allocations: 0.9533 MB / 1.46 GB, free: 6.684 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.5816, allocations: 39.69 kB / 1.46 GB, free: 6.645 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.472e-05/0.5817, allocations: 8 kB / 1.46 GB, free: 6.637 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007346/0.5824, allocations: 43.95 kB / 1.46 GB, free: 6.594 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.5825, allocations: 31.83 kB / 1.46 GB, free: 6.562 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.5826, allocations: 7.984 kB / 1.46 GB, free: 6.555 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002791/0.5828, allocations: 239 kB / 1.46 GB, free: 6.32 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5828, allocations: 0 / 1.46 GB, free: 6.32 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006131/0.5835, allocations: 111.9 kB / 1.46 GB, free: 6.211 MB / 1.154 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.007596/0.5911, allocations: 1.51 MB / 1.462 GB, free: 4.668 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002974/0.594, allocations: 0.7122 MB / 1.462 GB, free: 3.93 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.594, allocations: 0 / 1.462 GB, free: 3.93 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.5957, allocations: 0.4893 MB / 1.463 GB, free: 3.414 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007602/0.5964, allocations: 105.2 kB / 1.463 GB, free: 3.312 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/0.6169, allocations: 4.399 MB / 1.467 GB, free: 14.82 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/0.6175, allocations: 0.7684 MB / 1.468 GB, free: 14.02 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005235/0.618, allocations: 78.88 kB / 1.468 GB, free: 13.95 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.6183, allocations: 99.39 kB / 1.468 GB, free: 13.85 MB / 1.17 GB Notification: Performance of SimCode: time 2.034e-06/0.6183, allocations: 4 kB / 1.468 GB, free: 13.84 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05121/0.6695, allocations: 17.08 MB / 1.485 GB, free: 12.97 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/14.98, allocations: 10.41 kB / 1.485 GB, free: 12.96 MB / 1.186 GB " [Timeout remaining time 284] (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.962049935013056]