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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.031 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.478/2.478, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 63.89 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7689/0.7706, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002676/0.7733, allocations: 2.332 MB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.165/0.9384, allocations: 152.5 MB / 1.423 GB, free: 4.734 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.9386, allocations: 7.969 kB / 1.423 GB, free: 4.73 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.9388, allocations: 49.73 kB / 1.423 GB, free: 4.684 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.9391, allocations: 103.4 kB / 1.423 GB, free: 4.598 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.9398, allocations: 302.8 kB / 1.423 GB, free: 4.367 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.9403, allocations: 432.2 kB / 1.423 GB, free: 4.113 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.9404, allocations: 76.09 kB / 1.424 GB, free: 4.059 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.9418, allocations: 283.2 kB / 1.424 GB, free: 3.93 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.9421, allocations: 185.5 kB / 1.424 GB, free: 3.805 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.9421, allocations: 30.56 kB / 1.424 GB, free: 3.805 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005363/0.9427, allocations: 277.8 kB / 1.424 GB, free: 3.676 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.471e-05/0.9428, allocations: 83.56 kB / 1.424 GB, free: 3.605 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.9429, allocations: 166.5 kB / 1.424 GB, free: 3.488 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0006315/0.9436, allocations: 499.9 kB / 1.425 GB, free: 3.16 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.9436, allocations: 4 kB / 1.425 GB, free: 3.156 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9436, allocations: 0 / 1.425 GB, free: 3.156 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.9436, allocations: 1.125 kB / 1.425 GB, free: 3.156 MB / 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.001399/0.945, allocations: 0.7174 MB / 1.426 GB, free: 2.551 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.945, allocations: 10.19 kB / 1.426 GB, free: 2.551 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.934e-05/0.9451, allocations: 59.55 kB / 1.426 GB, free: 2.492 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.9477, allocations: 261.1 kB / 1.426 GB, free: 2.383 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.9481, allocations: 310.3 kB / 1.426 GB, free: 2.078 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.9481, allocations: 27.11 kB / 1.426 GB, free: 2.062 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.9482, allocations: 27 kB / 1.426 GB, free: 2.055 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.9495, allocations: 426.6 kB / 1.427 GB, free: 1.797 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.9495, allocations: 0 / 1.427 GB, free: 1.797 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.9496, allocations: 18.59 kB / 1.427 GB, free: 1.781 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.9496, allocations: 6.719 kB / 1.427 GB, free: 1.781 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.9518, allocations: 0.5247 MB / 1.427 GB, free: 1.523 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002978/0.9548, allocations: 1.139 MB / 1.428 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.957, allocations: 439.6 kB / 1.429 GB, free: 444 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.958, allocations: 220.3 kB / 1.429 GB, free: 328 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.9581, allocations: 2.875 kB / 1.429 GB, free: 328 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.9581, allocations: 45.19 kB / 1.429 GB, free: 276 kB / 1.107 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.9581, allocations: 0 / 1.429 GB, free: 276 kB / 1.107 GB Notification: Performance of matching and sorting (n=25): time 0.01495/0.973, allocations: 1.721 MB / 1.431 GB, free: 15.34 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.9731, allocations: 62.7 kB / 1.431 GB, free: 15.27 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.9734, allocations: 301.5 kB / 1.431 GB, free: 15.07 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.9735, allocations: 30.83 kB / 1.431 GB, free: 15.04 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.9736, allocations: 178.2 kB / 1.431 GB, free: 14.88 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.505e-05/0.9737, allocations: 93.55 kB / 1.431 GB, free: 14.79 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.9739, allocations: 70.39 kB / 1.431 GB, free: 14.74 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.974, allocations: 346.3 kB / 1.432 GB, free: 14.4 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009973/0.975, allocations: 202.7 kB / 1.432 GB, free: 14.3 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.976, allocations: 260.1 kB / 1.432 GB, free: 14.14 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.978, allocations: 440.6 kB / 1.433 GB, free: 13.91 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.978, allocations: 5.188 kB / 1.433 GB, free: 13.9 MB / 1.123 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006635/0.9847, allocations: 0.8851 MB / 1.434 GB, free: 13.45 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.9847, allocations: 7.844 kB / 1.434 GB, free: 13.45 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9847, allocations: 0 / 1.434 GB, free: 13.45 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.9865, allocations: 280 kB / 1.434 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.9869, allocations: 74.06 kB / 1.434 GB, free: 13.28 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/1.001, allocations: 4.097 MB / 1.438 GB, free: 9.645 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/1.002, allocations: 75.69 kB / 1.438 GB, free: 9.57 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/1.002, allocations: 19.97 kB / 1.438 GB, free: 9.551 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.0002001/1.002, allocations: 145.8 kB / 1.438 GB, free: 9.398 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.965e-05/1.002, allocations: 31.81 kB / 1.438 GB, free: 9.367 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006804/1.009, allocations: 0.947 MB / 1.439 GB, free: 8.41 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/1.009, allocations: 4 kB / 1.439 GB, free: 8.406 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/1.009, allocations: 0 / 1.439 GB, free: 8.406 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.009, allocations: 0 / 1.439 GB, free: 8.406 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/1.009, allocations: 440.7 kB / 1.439 GB, free: 7.926 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.009, allocations: 0 / 1.439 GB, free: 7.926 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/1.01, allocations: 51.95 kB / 1.44 GB, free: 7.875 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/1.011, allocations: 285.3 kB / 1.44 GB, free: 7.59 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/1.011, allocations: 23.91 kB / 1.44 GB, free: 7.566 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/1.025, allocations: 4.073 MB / 1.444 GB, free: 3.203 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.025, allocations: 3.984 kB / 1.444 GB, free: 3.199 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006637/1.032, allocations: 0.9544 MB / 1.445 GB, free: 2.223 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/1.032, allocations: 112.9 kB / 1.445 GB, free: 2.094 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/1.032, allocations: 15.88 kB / 1.445 GB, free: 2.078 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/1.032, allocations: 43.95 kB / 1.445 GB, free: 2.035 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/1.033, allocations: 19.92 kB / 1.445 GB, free: 2.016 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/1.033, allocations: 15.97 kB / 1.445 GB, free: 2 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002387/1.033, allocations: 235 kB / 1.445 GB, free: 1.773 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.033, allocations: 4 kB / 1.445 GB, free: 1.77 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000573/1.033, allocations: 111.9 kB / 1.445 GB, free: 1.66 MB / 1.123 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.00694/1.04, allocations: 1.51 MB / 1.447 GB, free: 120 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002639/1.043, allocations: 0.712 MB / 1.447 GB, free: 15.38 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.043, allocations: 0 / 1.447 GB, free: 15.38 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/1.044, allocations: 0.4893 MB / 1.448 GB, free: 14.86 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/1.045, allocations: 111.7 kB / 1.448 GB, free: 14.75 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/1.063, allocations: 4.387 MB / 1.452 GB, free: 10.27 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/1.064, allocations: 0.7684 MB / 1.453 GB, free: 9.469 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003472/1.064, allocations: 78.88 kB / 1.453 GB, free: 9.387 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/1.064, allocations: 99.39 kB / 1.453 GB, free: 9.289 MB / 1.139 GB Notification: Performance of SimCode: time 5.31e-07/1.064, allocations: 4 kB / 1.453 GB, free: 9.285 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04861/1.113, allocations: 16.84 MB / 1.47 GB, free: 8.621 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/12.05, allocations: 6.406 kB / 1.47 GB, free: 8.617 MB / 1.154 GB " [Timeout remaining time 288] (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 --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: 17.33181668999896]