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.001357/0.001357, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001675/0.001675, allocations: 217.7 kB / 22.25 MB, free: 5.105 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.809 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.252/3.252, allocations: 0.49 GB / 0.7951 GB, free: 35.53 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_12_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.002054/0.002054, allocations: 71.62 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3828, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003699/0.3865, allocations: 2.194 MB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1799/0.5664, allocations: 133.6 MB / 1.458 GB, free: 9.156 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.5667, allocations: 7.938 kB / 1.458 GB, free: 9.148 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.5669, allocations: 51.45 kB / 1.459 GB, free: 9.098 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.5673, allocations: 99.2 kB / 1.459 GB, free: 9 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008756/0.5682, allocations: 303 kB / 1.459 GB, free: 8.703 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0005456/0.5688, allocations: 431.7 kB / 1.459 GB, free: 8.273 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.569, allocations: 76.19 kB / 1.459 GB, free: 8.195 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.5706, allocations: 306 kB / 1.46 GB, free: 7.918 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.5709, allocations: 179.3 kB / 1.46 GB, free: 7.742 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.73e-05/0.5709, allocations: 32 kB / 1.46 GB, free: 7.711 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006079/0.5716, allocations: 279.6 kB / 1.46 GB, free: 7.438 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.5717, allocations: 79.73 kB / 1.46 GB, free: 7.359 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.5719, allocations: 139.3 kB / 1.46 GB, free: 7.223 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007205/0.5726, allocations: 0.4903 MB / 1.461 GB, free: 6.73 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5726, allocations: 0 / 1.461 GB, free: 6.73 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5726, allocations: 0 / 1.461 GB, free: 6.73 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.433e-06/0.5726, allocations: 0 / 1.461 GB, free: 6.73 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.001578/0.5742, allocations: 0.6336 MB / 1.461 GB, free: 6.066 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.5743, allocations: 12.03 kB / 1.461 GB, free: 6.055 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.602e-05/0.5743, allocations: 62.72 kB / 1.462 GB, free: 5.984 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.578, allocations: 291.3 kB / 1.462 GB, free: 5.699 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.5785, allocations: 249.6 kB / 1.462 GB, free: 5.43 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.5785, allocations: 16.66 kB / 1.462 GB, free: 5.414 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.5786, allocations: 28 kB / 1.462 GB, free: 5.387 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.5804, allocations: 433.8 kB / 1.462 GB, free: 4.957 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.5804, allocations: 0 / 1.462 GB, free: 4.957 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.5804, allocations: 11.94 kB / 1.463 GB, free: 4.945 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.5804, allocations: 8 kB / 1.463 GB, free: 4.938 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/0.5832, allocations: 0.5216 MB / 1.463 GB, free: 4.414 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.5871, allocations: 1.03 MB / 1.464 GB, free: 3.34 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/0.5899, allocations: 434.4 kB / 1.464 GB, free: 2.906 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.5911, allocations: 216.7 kB / 1.465 GB, free: 2.691 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.981e-05/0.5912, allocations: 11.94 kB / 1.465 GB, free: 2.68 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.5912, allocations: 38.44 kB / 1.465 GB, free: 2.633 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 2.224e-06/0.5912, allocations: 0 / 1.465 GB, free: 2.633 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.02014/0.6114, allocations: 1.582 MB / 1.466 GB, free: 1.039 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.6114, allocations: 59.41 kB / 1.466 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.6118, allocations: 300.6 kB / 1.467 GB, free: 0.668 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.202e-05/0.6119, allocations: 33.7 kB / 1.467 GB, free: 0.6289 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.6121, allocations: 172.5 kB / 1.467 GB, free: 468 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.6122, allocations: 91.2 kB / 1.467 GB, free: 376 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.6124, allocations: 73.92 kB / 1.467 GB, free: 292 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.6126, allocations: 342.8 kB / 1.467 GB, free: 15.94 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.6138, allocations: 208.4 kB / 1.467 GB, free: 15.74 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.6151, allocations: 357.8 kB / 1.468 GB, free: 15.34 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.6176, allocations: 438.8 kB / 1.468 GB, free: 14.91 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.6176, allocations: 0 / 1.468 GB, free: 14.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.008887/0.6265, allocations: 0.889 MB / 1.469 GB, free: 14 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.6266, allocations: 8 kB / 1.469 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.6266, allocations: 0 / 1.469 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002336/0.6289, allocations: 285.3 kB / 1.469 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.6295, allocations: 63.89 kB / 1.469 GB, free: 13.65 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/0.647, allocations: 3.865 MB / 1.473 GB, free: 9.555 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009864/0.648, allocations: 71.75 kB / 1.473 GB, free: 9.484 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.6481, allocations: 19.95 kB / 1.473 GB, free: 9.465 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.0002468/0.6483, allocations: 141.8 kB / 1.473 GB, free: 9.316 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.6484, allocations: 31.81 kB / 1.473 GB, free: 9.285 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008293/0.6567, allocations: 0.9473 MB / 1.474 GB, free: 8.324 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.6567, allocations: 11.94 kB / 1.474 GB, free: 8.312 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.6567, allocations: 0 / 1.474 GB, free: 8.312 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.6567, allocations: 0 / 1.474 GB, free: 8.312 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006944/0.6574, allocations: 340.2 kB / 1.475 GB, free: 7.938 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.6574, allocations: 0 / 1.475 GB, free: 7.938 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.6579, allocations: 55.89 kB / 1.475 GB, free: 7.883 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002104/0.66, allocations: 281.4 kB / 1.475 GB, free: 7.602 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/0.6601, allocations: 11.97 kB / 1.475 GB, free: 7.59 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01762/0.6777, allocations: 3.851 MB / 1.479 GB, free: 3.508 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6777, allocations: 0 / 1.479 GB, free: 3.508 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008344/0.686, allocations: 0.9574 MB / 1.48 GB, free: 2.527 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.6861, allocations: 35.69 kB / 1.48 GB, free: 2.492 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.791e-05/0.6862, allocations: 4 kB / 1.48 GB, free: 2.488 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/0.6871, allocations: 47.95 kB / 1.48 GB, free: 2.441 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.6872, allocations: 23.84 kB / 1.48 GB, free: 2.418 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.6872, allocations: 15.97 kB / 1.48 GB, free: 2.402 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002701/0.6875, allocations: 227.1 kB / 1.48 GB, free: 2.184 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6875, allocations: 0 / 1.48 GB, free: 2.184 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006336/0.6881, allocations: 115.9 kB / 1.48 GB, free: 2.07 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.008812/0.6969, allocations: 1.514 MB / 1.482 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0032/0.7001, allocations: 0.7078 MB / 1.482 GB, free: 15.79 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7001, allocations: 0 / 1.482 GB, free: 15.79 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.7019, allocations: 0.5014 MB / 1.483 GB, free: 15.26 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.7026, allocations: 115.3 kB / 1.483 GB, free: 15.15 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/0.7258, allocations: 4.385 MB / 1.487 GB, free: 10.66 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.726, allocations: 160.5 kB / 1.487 GB, free: 10.48 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004616/0.7265, allocations: 78.88 kB / 1.487 GB, free: 10.4 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.7267, allocations: 99.39 kB / 1.488 GB, free: 10.3 MB / 1.186 GB Notification: Performance of SimCode: time 1.462e-06/0.7267, allocations: 0 / 1.488 GB, free: 10.3 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05676/0.7834, allocations: 18.53 MB / 1.506 GB, free: 8.055 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.86, allocations: 12.97 kB / 1.506 GB, free: 8.047 MB / 1.201 GB " [Timeout remaining time 286] (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: 20.699227023986168]