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.001577/0.001577, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00226/0.00226, allocations: 221.2 kB / 23.03 MB, free: 4.945 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.242/3.242, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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.001914/0.001914, allocations: 62.67 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 176.1 MB / 1.327 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003515/0.3226, allocations: 2.186 MB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1705/0.4931, allocations: 133.5 MB / 1.459 GB, free: 9.297 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.4933, allocations: 3.938 kB / 1.459 GB, free: 9.293 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.4935, allocations: 43.53 kB / 1.459 GB, free: 9.25 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.4939, allocations: 107.1 kB / 1.459 GB, free: 9.145 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007751/0.4947, allocations: 307 kB / 1.46 GB, free: 8.844 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0005103/0.4952, allocations: 427.7 kB / 1.46 GB, free: 8.418 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.4954, allocations: 88.16 kB / 1.46 GB, free: 8.328 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.497, allocations: 286.5 kB / 1.46 GB, free: 8.074 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.4973, allocations: 187.2 kB / 1.461 GB, free: 7.891 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.4974, allocations: 28 kB / 1.461 GB, free: 7.863 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005592/0.4979, allocations: 275.6 kB / 1.461 GB, free: 7.594 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.4981, allocations: 79.73 kB / 1.461 GB, free: 7.516 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.4982, allocations: 139.4 kB / 1.461 GB, free: 7.379 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007495/0.499, allocations: 0.4943 MB / 1.461 GB, free: 6.883 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.499, allocations: 0 / 1.461 GB, free: 6.883 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.332e-06/0.499, allocations: 0 / 1.461 GB, free: 6.883 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.499, allocations: 0 / 1.461 GB, free: 6.883 MB / 1.154 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.001571/0.5006, allocations: 0.6375 MB / 1.462 GB, free: 6.215 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.5006, allocations: 8.031 kB / 1.462 GB, free: 6.207 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.445e-05/0.5006, allocations: 8.844 kB / 1.462 GB, free: 6.199 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.083e-05/0.5007, allocations: 62.48 kB / 1.462 GB, free: 6.129 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/0.504, allocations: 291.5 kB / 1.462 GB, free: 5.844 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.5044, allocations: 245.6 kB / 1.463 GB, free: 5.578 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.5044, allocations: 20.66 kB / 1.463 GB, free: 5.559 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-05/0.5045, allocations: 31.88 kB / 1.463 GB, free: 5.527 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.5061, allocations: 433.8 kB / 1.463 GB, free: 5.098 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5061, allocations: 0 / 1.463 GB, free: 5.098 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.415e-05/0.5062, allocations: 15.94 kB / 1.463 GB, free: 5.082 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.5062, allocations: 8 kB / 1.463 GB, free: 5.074 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/0.5087, allocations: 0.5255 MB / 1.464 GB, free: 4.547 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.512, allocations: 1.026 MB / 1.465 GB, free: 3.477 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.5144, allocations: 442.3 kB / 1.465 GB, free: 3.035 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.5155, allocations: 216.7 kB / 1.465 GB, free: 2.82 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-05/0.5156, allocations: 7.984 kB / 1.465 GB, free: 2.812 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.5156, allocations: 42.44 kB / 1.465 GB, free: 2.762 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 1.903e-06/0.5156, allocations: 0 / 1.465 GB, free: 2.762 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.01725/0.5329, allocations: 1.568 MB / 1.467 GB, free: 1.18 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.5329, allocations: 63.34 kB / 1.467 GB, free: 1.105 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.5334, allocations: 300.6 kB / 1.467 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/0.5334, allocations: 37.7 kB / 1.467 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.5336, allocations: 168.5 kB / 1.467 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.5337, allocations: 91.22 kB / 1.468 GB, free: 0.5039 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.5339, allocations: 77.88 kB / 1.468 GB, free: 428 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.5341, allocations: 346.7 kB / 1.468 GB, free: 72 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.5352, allocations: 196.4 kB / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.5365, allocations: 361.8 kB / 1.468 GB, free: 15.48 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.5387, allocations: 446.8 kB / 1.469 GB, free: 15.04 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5387, allocations: 0 / 1.469 GB, free: 15.04 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007695/0.5464, allocations: 0.889 MB / 1.47 GB, free: 14.13 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.5464, allocations: 9.719 kB / 1.47 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.5464, allocations: 4 kB / 1.47 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/0.5485, allocations: 269.3 kB / 1.47 GB, free: 13.85 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.549, allocations: 75.88 kB / 1.47 GB, free: 13.78 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/0.5653, allocations: 3.842 MB / 1.474 GB, free: 9.703 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008934/0.5662, allocations: 75.72 kB / 1.474 GB, free: 9.629 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/0.5663, allocations: 23.97 kB / 1.474 GB, free: 9.605 MB / 1.17 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.0002269/0.5665, allocations: 139.5 kB / 1.474 GB, free: 9.461 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.896e-05/0.5666, allocations: 35.77 kB / 1.474 GB, free: 9.426 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007813/0.5744, allocations: 0.9426 MB / 1.475 GB, free: 8.469 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5744, allocations: 4 kB / 1.475 GB, free: 8.465 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5744, allocations: 4 kB / 1.475 GB, free: 8.461 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.5744, allocations: 7.984 kB / 1.475 GB, free: 8.453 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.5749, allocations: 340.2 kB / 1.475 GB, free: 8.078 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5749, allocations: 0 / 1.475 GB, free: 8.078 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.5754, allocations: 47.95 kB / 1.475 GB, free: 8.031 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/0.5773, allocations: 289.3 kB / 1.476 GB, free: 7.742 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/0.5774, allocations: 11.97 kB / 1.476 GB, free: 7.73 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/0.5926, allocations: 3.839 MB / 1.479 GB, free: 3.66 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5926, allocations: 4.031 kB / 1.479 GB, free: 3.656 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007338/0.6, allocations: 0.962 MB / 1.48 GB, free: 2.672 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 7.759e-05/0.6001, allocations: 35.75 kB / 1.48 GB, free: 2.637 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-05/0.6001, allocations: 7.938 kB / 1.48 GB, free: 2.629 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000763/0.6009, allocations: 43.95 kB / 1.481 GB, free: 2.586 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/0.601, allocations: 23.89 kB / 1.481 GB, free: 2.562 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.601, allocations: 19.97 kB / 1.481 GB, free: 2.543 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002636/0.6013, allocations: 230.9 kB / 1.481 GB, free: 2.32 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6013, allocations: 0 / 1.481 GB, free: 2.32 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000615/0.6019, allocations: 115.9 kB / 1.481 GB, free: 2.207 MB / 1.17 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.007853/0.6098, allocations: 1.514 MB / 1.482 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002921/0.6127, allocations: 0.7117 MB / 1.483 GB, free: 15.92 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6127, allocations: 0 / 1.483 GB, free: 15.92 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.6143, allocations: 497.6 kB / 1.484 GB, free: 15.41 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000689/0.615, allocations: 116.5 kB / 1.484 GB, free: 15.3 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/0.6354, allocations: 4.392 MB / 1.488 GB, free: 10.81 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.6355, allocations: 164.5 kB / 1.488 GB, free: 10.63 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004245/0.636, allocations: 74.89 kB / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.6362, allocations: 107.4 kB / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of SimCode: time 9.52e-07/0.6362, allocations: 0 / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05028/0.6865, allocations: 18.08 MB / 1.506 GB, free: 8.684 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.63, allocations: 8 kB / 1.506 GB, free: 8.676 MB / 1.201 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.560459543950856]