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.001928/0.001928, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001452/0.001452, allocations: 215 kB / 20.13 MB, free: 2.949 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.473/1.473, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.827/2.827, allocations: 476.7 MB / 0.7678 GB, free: 9.328 MB / 0.6075 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.002059/0.002059, allocations: 63.91 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9009/0.903, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004147/0.9071, allocations: 2.334 MB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2224/1.13, allocations: 155.3 MB / 1.433 GB, free: 14.3 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003237/1.13, allocations: 7.938 kB / 1.433 GB, free: 14.3 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000242/1.13, allocations: 47.47 kB / 1.433 GB, free: 14.25 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0004132/1.131, allocations: 107.1 kB / 1.433 GB, free: 14.14 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/1.131, allocations: 310.9 kB / 1.433 GB, free: 13.84 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0005135/1.132, allocations: 419.8 kB / 1.434 GB, free: 13.43 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/1.132, allocations: 75.7 kB / 1.434 GB, free: 13.35 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/1.134, allocations: 295.3 kB / 1.434 GB, free: 13.09 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/1.134, allocations: 183.3 kB / 1.434 GB, free: 12.91 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/1.134, allocations: 28 kB / 1.434 GB, free: 12.88 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005804/1.135, allocations: 291.6 kB / 1.435 GB, free: 12.59 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 9.45e-05/1.135, allocations: 79.73 kB / 1.435 GB, free: 12.52 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/1.135, allocations: 163.2 kB / 1.435 GB, free: 12.36 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007284/1.136, allocations: 0.498 MB / 1.435 GB, free: 11.86 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.136, allocations: 0 / 1.435 GB, free: 11.86 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.783e-06/1.136, allocations: 0 / 1.435 GB, free: 11.86 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.596e-06/1.136, allocations: 0 / 1.435 GB, free: 11.86 MB / 1.123 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.001589/1.137, allocations: 0.7089 MB / 1.436 GB, free: 11.1 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.137, allocations: 8.031 kB / 1.436 GB, free: 11.09 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.555e-05/1.137, allocations: 8.75 kB / 1.436 GB, free: 11.08 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.676e-05/1.137, allocations: 66.47 kB / 1.436 GB, free: 11 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/1.14, allocations: 295.4 kB / 1.436 GB, free: 10.71 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/1.141, allocations: 307.4 kB / 1.437 GB, free: 10.38 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/1.141, allocations: 32.44 kB / 1.437 GB, free: 10.34 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/1.141, allocations: 24 kB / 1.437 GB, free: 10.32 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/1.142, allocations: 428.5 kB / 1.437 GB, free: 9.898 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/1.142, allocations: 0 / 1.437 GB, free: 9.898 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/1.143, allocations: 15.94 kB / 1.437 GB, free: 9.883 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/1.143, allocations: 8 kB / 1.437 GB, free: 9.875 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/1.145, allocations: 0.5213 MB / 1.438 GB, free: 9.355 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/1.148, allocations: 1.143 MB / 1.439 GB, free: 8.16 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/1.15, allocations: 442.3 kB / 1.439 GB, free: 7.719 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/1.151, allocations: 227.2 kB / 1.439 GB, free: 7.496 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/1.152, allocations: 7.984 kB / 1.439 GB, free: 7.488 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/1.152, allocations: 34.5 kB / 1.439 GB, free: 7.445 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 1.684e-06/1.152, allocations: 0 / 1.439 GB, free: 7.445 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.01626/1.168, allocations: 1.718 MB / 1.441 GB, free: 5.676 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/1.168, allocations: 63.39 kB / 1.441 GB, free: 5.602 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/1.168, allocations: 304.5 kB / 1.441 GB, free: 5.293 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/1.168, allocations: 29.7 kB / 1.441 GB, free: 5.258 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/1.169, allocations: 172.4 kB / 1.442 GB, free: 5.086 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/1.169, allocations: 91.22 kB / 1.442 GB, free: 4.996 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/1.169, allocations: 69.92 kB / 1.442 GB, free: 4.918 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.169, allocations: 346.8 kB / 1.442 GB, free: 4.57 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/1.17, allocations: 200.4 kB / 1.442 GB, free: 4.375 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/1.171, allocations: 262.8 kB / 1.443 GB, free: 4.098 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/1.173, allocations: 442.8 kB / 1.443 GB, free: 3.656 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.173, allocations: 0 / 1.443 GB, free: 3.656 MB / 1.123 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007128/1.18, allocations: 0.8967 MB / 1.444 GB, free: 2.746 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/1.18, allocations: 4 kB / 1.444 GB, free: 2.742 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.18, allocations: 4 kB / 1.444 GB, free: 2.738 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/1.182, allocations: 281.4 kB / 1.444 GB, free: 2.457 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/1.183, allocations: 67.88 kB / 1.444 GB, free: 2.391 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/1.198, allocations: 4.095 MB / 1.448 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/1.199, allocations: 71.75 kB / 1.448 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/1.199, allocations: 19.97 kB / 1.448 GB, free: 13.93 MB / 1.139 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.0002428/1.199, allocations: 145.5 kB / 1.448 GB, free: 13.78 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/1.199, allocations: 35.77 kB / 1.448 GB, free: 13.75 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007184/1.206, allocations: 0.9427 MB / 1.449 GB, free: 12.79 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.206, allocations: 7.938 kB / 1.449 GB, free: 12.79 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/1.206, allocations: 0 / 1.449 GB, free: 12.79 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.206, allocations: 0 / 1.449 GB, free: 12.79 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/1.207, allocations: 425.1 kB / 1.45 GB, free: 12.32 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.207, allocations: 0 / 1.45 GB, free: 12.32 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/1.208, allocations: 55.89 kB / 1.45 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/1.209, allocations: 277.4 kB / 1.45 GB, free: 11.99 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/1.209, allocations: 15.97 kB / 1.45 GB, free: 11.97 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/1.224, allocations: 4.08 MB / 1.454 GB, free: 7.602 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.224, allocations: 4.031 kB / 1.454 GB, free: 7.598 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007221/1.232, allocations: 0.9611 MB / 1.455 GB, free: 6.613 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/1.232, allocations: 112.8 kB / 1.455 GB, free: 6.484 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.971e-05/1.232, allocations: 8 kB / 1.455 GB, free: 6.477 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/1.233, allocations: 43.94 kB / 1.455 GB, free: 6.434 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.233, allocations: 19.92 kB / 1.455 GB, free: 6.414 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/1.233, allocations: 23.91 kB / 1.455 GB, free: 6.391 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002912/1.233, allocations: 223.1 kB / 1.455 GB, free: 6.176 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/1.233, allocations: 0 / 1.455 GB, free: 6.176 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006425/1.234, allocations: 119.9 kB / 1.456 GB, free: 6.059 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.007509/1.241, allocations: 1.51 MB / 1.457 GB, free: 4.516 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00296/1.244, allocations: 0.7239 MB / 1.458 GB, free: 3.766 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.244, allocations: 0 / 1.458 GB, free: 3.766 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/1.246, allocations: 0.4893 MB / 1.458 GB, free: 3.25 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/1.247, allocations: 110.9 kB / 1.458 GB, free: 3.145 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/1.266, allocations: 4.38 MB / 1.463 GB, free: 14.66 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/1.266, allocations: 0.7723 MB / 1.463 GB, free: 13.86 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003997/1.267, allocations: 78.88 kB / 1.463 GB, free: 13.78 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/1.267, allocations: 95.39 kB / 1.464 GB, free: 13.69 MB / 1.154 GB Notification: Performance of SimCode: time 6.11e-07/1.267, allocations: 4 kB / 1.464 GB, free: 13.68 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04613/1.313, allocations: 16.74 MB / 1.48 GB, free: 13.12 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/14.03, allocations: 11.91 kB / 1.48 GB, free: 13.11 MB / 1.17 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.267506389995106]