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.001729/0.001729, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002357/0.002357, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 8.023 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.847/2.847, allocations: 476.7 MB / 0.7707 GB, free: 4.324 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.002129/0.002129, allocations: 69.17 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.324, allocations: 170 MB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004118/0.3281, allocations: 2.352 MB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.5157, allocations: 155.4 MB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.516, allocations: 7.938 kB / 1.437 GB, free: 13.44 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.5162, allocations: 51.45 kB / 1.437 GB, free: 13.39 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004824/0.5167, allocations: 103.2 kB / 1.438 GB, free: 13.29 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008824/0.5176, allocations: 303 kB / 1.438 GB, free: 12.99 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0005693/0.5181, allocations: 431.6 kB / 1.438 GB, free: 12.57 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.5183, allocations: 80.22 kB / 1.438 GB, free: 12.49 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.52, allocations: 294.5 kB / 1.439 GB, free: 12.23 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.5202, allocations: 183.3 kB / 1.439 GB, free: 12.05 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/0.5203, allocations: 35.94 kB / 1.439 GB, free: 12.01 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006386/0.5209, allocations: 283.6 kB / 1.439 GB, free: 11.73 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 9.35e-05/0.521, allocations: 75.73 kB / 1.439 GB, free: 11.66 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.5212, allocations: 167.2 kB / 1.439 GB, free: 11.5 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0007693/0.522, allocations: 0.4942 MB / 1.44 GB, free: 11 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.522, allocations: 8 kB / 1.44 GB, free: 10.99 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.723e-06/0.522, allocations: 0 / 1.44 GB, free: 10.99 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.522, allocations: 4 kB / 1.44 GB, free: 10.99 MB / 1.139 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.001505/0.5235, allocations: 0.6317 MB / 1.44 GB, free: 10.33 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5235, allocations: 12.03 kB / 1.44 GB, free: 10.32 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.382e-05/0.5236, allocations: 62.72 kB / 1.44 GB, free: 10.25 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/0.5268, allocations: 291.4 kB / 1.441 GB, free: 9.961 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.5273, allocations: 245.6 kB / 1.441 GB, free: 9.695 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.5274, allocations: 16.66 kB / 1.441 GB, free: 9.68 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/0.5274, allocations: 28 kB / 1.441 GB, free: 9.652 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.529, allocations: 433.8 kB / 1.441 GB, free: 9.223 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.529, allocations: 0 / 1.441 GB, free: 9.223 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.529, allocations: 11.94 kB / 1.441 GB, free: 9.211 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.5291, allocations: 8 kB / 1.441 GB, free: 9.203 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/0.5315, allocations: 0.5294 MB / 1.442 GB, free: 8.676 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/0.5349, allocations: 1.111 MB / 1.443 GB, free: 7.52 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.5372, allocations: 430.4 kB / 1.443 GB, free: 7.09 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.5383, allocations: 220.7 kB / 1.444 GB, free: 6.871 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.733e-05/0.5384, allocations: 7.938 kB / 1.444 GB, free: 6.863 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.5384, allocations: 42.44 kB / 1.444 GB, free: 6.812 MB / 1.139 GB Notification: Performance of pre-optimization done (n=25): time 2.374e-06/0.5384, allocations: 0 / 1.444 GB, free: 6.812 MB / 1.139 GB Notification: Performance of matching and sorting (n=25): time 0.0165/0.5549, allocations: 1.578 MB / 1.445 GB, free: 5.223 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.555, allocations: 63.33 kB / 1.445 GB, free: 5.148 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.5554, allocations: 304.5 kB / 1.446 GB, free: 4.844 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.379e-05/0.5555, allocations: 33.7 kB / 1.446 GB, free: 4.805 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.5556, allocations: 168.5 kB / 1.446 GB, free: 4.633 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.5558, allocations: 99.2 kB / 1.446 GB, free: 4.535 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.5559, allocations: 69.92 kB / 1.446 GB, free: 4.457 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5561, allocations: 346.8 kB / 1.446 GB, free: 4.109 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.5572, allocations: 196.4 kB / 1.447 GB, free: 3.918 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.5583, allocations: 263 kB / 1.447 GB, free: 3.641 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/0.5605, allocations: 438.8 kB / 1.447 GB, free: 3.203 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.5605, allocations: 0 / 1.447 GB, free: 3.203 MB / 1.139 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00748/0.568, allocations: 0.889 MB / 1.448 GB, free: 2.301 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.568, allocations: 8 kB / 1.448 GB, free: 2.293 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.568, allocations: 0 / 1.448 GB, free: 2.293 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.5701, allocations: 281.4 kB / 1.448 GB, free: 2.012 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.5706, allocations: 71.88 kB / 1.448 GB, free: 1.941 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/0.5864, allocations: 3.889 MB / 1.452 GB, free: 13.82 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.5873, allocations: 79.72 kB / 1.452 GB, free: 13.74 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.5874, allocations: 15.97 kB / 1.452 GB, free: 13.73 MB / 1.154 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.0002395/0.5876, allocations: 148 kB / 1.452 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.977e-05/0.5877, allocations: 31.77 kB / 1.452 GB, free: 13.54 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007619/0.5953, allocations: 0.9503 MB / 1.453 GB, free: 12.58 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.5953, allocations: 0 / 1.453 GB, free: 12.58 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5953, allocations: 8 kB / 1.453 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5953, allocations: 0 / 1.453 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006753/0.596, allocations: 388.2 kB / 1.454 GB, free: 12.15 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.596, allocations: 0 / 1.454 GB, free: 12.15 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.5965, allocations: 51.95 kB / 1.454 GB, free: 12.1 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/0.5984, allocations: 285.3 kB / 1.454 GB, free: 11.82 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.5984, allocations: 15.97 kB / 1.454 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/0.6135, allocations: 3.874 MB / 1.458 GB, free: 7.691 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6135, allocations: 0 / 1.458 GB, free: 7.691 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007304/0.6209, allocations: 0.9574 MB / 1.459 GB, free: 6.711 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.621, allocations: 35.73 kB / 1.459 GB, free: 6.676 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.6212, allocations: 7.953 kB / 1.459 GB, free: 6.668 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007915/0.622, allocations: 43.95 kB / 1.459 GB, free: 6.625 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.6221, allocations: 35.83 kB / 1.459 GB, free: 6.59 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.6222, allocations: 15.97 kB / 1.459 GB, free: 6.574 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000339/0.6225, allocations: 227.1 kB / 1.459 GB, free: 6.352 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6225, allocations: 0 / 1.459 GB, free: 6.352 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000723/0.6232, allocations: 107.9 kB / 1.459 GB, free: 6.246 MB / 1.154 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.007775/0.631, allocations: 1.514 MB / 1.461 GB, free: 4.699 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002914/0.6339, allocations: 0.7119 MB / 1.461 GB, free: 3.961 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6339, allocations: 0 / 1.461 GB, free: 3.961 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.6356, allocations: 497.6 kB / 1.462 GB, free: 3.449 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007011/0.6363, allocations: 112 kB / 1.462 GB, free: 3.344 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.6563, allocations: 4.401 MB / 1.466 GB, free: 14.85 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.6567, allocations: 0.7645 MB / 1.467 GB, free: 14.06 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004302/0.6572, allocations: 74.88 kB / 1.467 GB, free: 13.98 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.6574, allocations: 107.4 kB / 1.467 GB, free: 13.88 MB / 1.17 GB Notification: Performance of SimCode: time 9.42e-07/0.6574, allocations: 0 / 1.467 GB, free: 13.88 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05938/0.7168, allocations: 17.06 MB / 1.484 GB, free: 13.02 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.55, allocations: 2.031 kB / 1.484 GB, free: 13.02 MB / 1.186 GB " [Timeout remaining time 285] (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: 21.213002177886665]