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.001326/0.001326, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001689/0.001689, allocations: 211 kB / 22.24 MB, free: 4.855 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.785 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.727/2.727, allocations: 476 MB / 0.7699 GB, free: 4.758 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="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: 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.002152/0.002152, allocations: 66.52 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3183, allocations: 170 MB / 1.283 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003695/0.322, allocations: 2.194 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1705/0.4925, allocations: 133.6 MB / 1.415 GB, free: 4.219 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.4927, allocations: 7.938 kB / 1.415 GB, free: 4.211 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.4929, allocations: 51.45 kB / 1.415 GB, free: 4.16 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.4933, allocations: 103.2 kB / 1.415 GB, free: 4.059 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007745/0.4941, allocations: 299 kB / 1.416 GB, free: 3.766 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.4946, allocations: 431.7 kB / 1.416 GB, free: 3.344 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.4948, allocations: 72.27 kB / 1.416 GB, free: 3.27 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.4962, allocations: 302.7 kB / 1.416 GB, free: 3 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.4965, allocations: 163.3 kB / 1.417 GB, free: 2.84 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.4966, allocations: 32 kB / 1.417 GB, free: 2.809 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005454/0.4971, allocations: 263.6 kB / 1.417 GB, free: 2.551 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.4972, allocations: 79.72 kB / 1.417 GB, free: 2.473 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.4974, allocations: 135.4 kB / 1.417 GB, free: 2.34 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0007123/0.4981, allocations: 0.4998 MB / 1.418 GB, free: 1.84 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4981, allocations: 4 kB / 1.418 GB, free: 1.836 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4981, allocations: 0 / 1.418 GB, free: 1.836 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.4981, allocations: 3.984 kB / 1.418 GB, free: 1.832 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.001508/0.4996, allocations: 0.6375 MB / 1.418 GB, free: 1.164 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4996, allocations: 8.031 kB / 1.418 GB, free: 1.156 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.223e-05/0.4997, allocations: 62.67 kB / 1.418 GB, free: 1.086 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.5027, allocations: 287.4 kB / 1.418 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.5032, allocations: 245.6 kB / 1.419 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.5032, allocations: 24.66 kB / 1.419 GB, free: 0.5156 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.5032, allocations: 24 kB / 1.419 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.5047, allocations: 441.7 kB / 1.419 GB, free: 52 kB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.5047, allocations: 0 / 1.419 GB, free: 52 kB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.5048, allocations: 15.94 kB / 1.419 GB, free: 36 kB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.5048, allocations: 4 kB / 1.419 GB, free: 32 kB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.507, allocations: 0.5217 MB / 1.42 GB, free: 15.51 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/0.5102, allocations: 1.026 MB / 1.421 GB, free: 14.44 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/0.5125, allocations: 446.3 kB / 1.421 GB, free: 14 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.5135, allocations: 212.7 kB / 1.421 GB, free: 13.79 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.5136, allocations: 8 kB / 1.421 GB, free: 13.78 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.5136, allocations: 42.5 kB / 1.421 GB, free: 13.73 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.5136, allocations: 3.938 kB / 1.421 GB, free: 13.72 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.01501/0.5286, allocations: 1.578 MB / 1.423 GB, free: 12.13 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.5287, allocations: 51.41 kB / 1.423 GB, free: 12.07 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.5291, allocations: 308.5 kB / 1.423 GB, free: 11.76 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.5291, allocations: 29.7 kB / 1.423 GB, free: 11.73 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.5293, allocations: 172.5 kB / 1.423 GB, free: 11.55 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.5294, allocations: 87.23 kB / 1.424 GB, free: 11.46 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.5296, allocations: 81.88 kB / 1.424 GB, free: 11.38 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.5298, allocations: 346.7 kB / 1.424 GB, free: 11.03 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.5308, allocations: 200.4 kB / 1.424 GB, free: 10.83 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.5319, allocations: 369.8 kB / 1.425 GB, free: 10.43 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.5339, allocations: 431.8 kB / 1.425 GB, free: 9.996 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.5339, allocations: 0 / 1.425 GB, free: 9.996 MB / 1.123 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006687/0.5406, allocations: 0.9007 MB / 1.426 GB, free: 9.082 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.5406, allocations: 4 kB / 1.426 GB, free: 9.078 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5406, allocations: 4 kB / 1.426 GB, free: 9.074 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.5425, allocations: 277.4 kB / 1.426 GB, free: 8.797 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.543, allocations: 67.81 kB / 1.426 GB, free: 8.73 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.5571, allocations: 3.866 MB / 1.43 GB, free: 4.633 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008391/0.558, allocations: 71.75 kB / 1.43 GB, free: 4.562 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.558, allocations: 15.97 kB / 1.43 GB, free: 4.547 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.00021/0.5582, allocations: 137.8 kB / 1.43 GB, free: 4.402 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.876e-05/0.5583, allocations: 35.81 kB / 1.43 GB, free: 4.367 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006933/0.5653, allocations: 0.9542 MB / 1.431 GB, free: 3.402 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5653, allocations: 0 / 1.431 GB, free: 3.402 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5653, allocations: 7.984 kB / 1.431 GB, free: 3.395 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5653, allocations: 3.938 kB / 1.431 GB, free: 3.391 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.5658, allocations: 324.3 kB / 1.431 GB, free: 3.031 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5658, allocations: 4 kB / 1.431 GB, free: 3.027 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.5662, allocations: 59.89 kB / 1.431 GB, free: 2.969 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.568, allocations: 273.4 kB / 1.432 GB, free: 2.695 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.568, allocations: 19.97 kB / 1.432 GB, free: 2.676 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.5821, allocations: 3.838 MB / 1.435 GB, free: 14.6 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5821, allocations: 0 / 1.435 GB, free: 14.6 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006766/0.5888, allocations: 0.9611 MB / 1.436 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.5889, allocations: 31.75 kB / 1.436 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.839e-05/0.589, allocations: 8 kB / 1.436 GB, free: 13.58 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006988/0.5897, allocations: 39.95 kB / 1.437 GB, free: 13.54 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.5898, allocations: 31.89 kB / 1.437 GB, free: 13.51 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.5898, allocations: 15.97 kB / 1.437 GB, free: 13.49 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002661/0.5901, allocations: 223.1 kB / 1.437 GB, free: 13.27 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5901, allocations: 0 / 1.437 GB, free: 13.27 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005757/0.5906, allocations: 111.9 kB / 1.437 GB, free: 13.16 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.007177/0.5978, allocations: 1.514 MB / 1.438 GB, free: 11.62 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002768/0.6006, allocations: 0.7201 MB / 1.439 GB, free: 10.87 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6006, allocations: 0 / 1.439 GB, free: 10.87 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.6022, allocations: 0.4893 MB / 1.44 GB, free: 10.36 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/0.6028, allocations: 109.2 kB / 1.44 GB, free: 10.25 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/0.6215, allocations: 4.389 MB / 1.444 GB, free: 5.758 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.6217, allocations: 156.5 kB / 1.444 GB, free: 5.582 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004148/0.6221, allocations: 78.88 kB / 1.444 GB, free: 5.504 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.6223, allocations: 103.4 kB / 1.444 GB, free: 5.402 MB / 1.139 GB Notification: Performance of SimCode: time 1.553e-06/0.6223, allocations: 4 kB / 1.444 GB, free: 5.398 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05494/0.6773, allocations: 18.44 MB / 1.462 GB, free: 3.254 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.87, allocations: 0 / 1.462 GB, free: 3.254 MB / 1.154 GB " [Timeout remaining time 286] (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: 20.36080684978515]