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.002223/0.002223, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002768/0.002768, allocations: 213.1 kB / 22.25 MB, free: 5.262 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.742 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.222/3.222, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.002062/0.002062, allocations: 72.73 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3504, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004024/0.3544, allocations: 2.195 MB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.176/0.5304, allocations: 133.6 MB / 1.458 GB, free: 10.02 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.5307, allocations: 11.94 kB / 1.458 GB, free: 10 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.531, allocations: 47.47 kB / 1.458 GB, free: 9.957 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.5314, allocations: 99.19 kB / 1.458 GB, free: 9.859 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009154/0.5323, allocations: 306.9 kB / 1.458 GB, free: 9.559 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0005724/0.5329, allocations: 427.7 kB / 1.459 GB, free: 9.133 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.5331, allocations: 76.17 kB / 1.459 GB, free: 9.055 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.5346, allocations: 293.4 kB / 1.459 GB, free: 8.789 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.5349, allocations: 175.2 kB / 1.459 GB, free: 8.617 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.535, allocations: 28 kB / 1.459 GB, free: 8.59 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000566/0.5355, allocations: 275.5 kB / 1.459 GB, free: 8.32 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.5356, allocations: 75.75 kB / 1.459 GB, free: 8.246 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.5358, allocations: 143.3 kB / 1.46 GB, free: 8.105 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.000692/0.5365, allocations: 498.1 kB / 1.46 GB, free: 7.617 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5365, allocations: 4 kB / 1.46 GB, free: 7.613 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5365, allocations: 0 / 1.46 GB, free: 7.613 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.5365, allocations: 0 / 1.46 GB, free: 7.613 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.001519/0.538, allocations: 0.6414 MB / 1.461 GB, free: 6.941 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5381, allocations: 8.031 kB / 1.461 GB, free: 6.934 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.673e-05/0.5381, allocations: 58.73 kB / 1.461 GB, free: 6.867 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/0.5411, allocations: 295.4 kB / 1.461 GB, free: 6.578 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.5416, allocations: 237.6 kB / 1.461 GB, free: 6.32 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.5416, allocations: 24.66 kB / 1.461 GB, free: 6.297 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.566e-05/0.5417, allocations: 27.94 kB / 1.461 GB, free: 6.27 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.5433, allocations: 429.8 kB / 1.462 GB, free: 5.844 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.5433, allocations: 0 / 1.462 GB, free: 5.844 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.5434, allocations: 15.94 kB / 1.462 GB, free: 5.828 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.5434, allocations: 8 kB / 1.462 GB, free: 5.82 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.5457, allocations: 0.5255 MB / 1.462 GB, free: 5.293 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003373/0.5491, allocations: 1.022 MB / 1.463 GB, free: 4.227 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.5513, allocations: 438.3 kB / 1.464 GB, free: 3.789 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.5523, allocations: 218.5 kB / 1.464 GB, free: 3.574 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/0.5523, allocations: 7.984 kB / 1.464 GB, free: 3.566 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5524, allocations: 38.5 kB / 1.464 GB, free: 3.52 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/0.5524, allocations: 3.938 kB / 1.464 GB, free: 3.516 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.01513/0.5675, allocations: 1.582 MB / 1.465 GB, free: 1.922 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.5676, allocations: 51.41 kB / 1.465 GB, free: 1.859 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.568, allocations: 308.6 kB / 1.466 GB, free: 1.551 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.461e-05/0.5681, allocations: 29.7 kB / 1.466 GB, free: 1.516 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.5682, allocations: 172.5 kB / 1.466 GB, free: 1.344 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5684, allocations: 91.2 kB / 1.466 GB, free: 1.254 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.5685, allocations: 73.92 kB / 1.466 GB, free: 1.172 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002125/0.5687, allocations: 350.7 kB / 1.466 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.5698, allocations: 196.4 kB / 1.467 GB, free: 0.6289 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.571, allocations: 369.7 kB / 1.467 GB, free: 228 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.5731, allocations: 434.9 kB / 1.467 GB, free: 15.79 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.5731, allocations: 4 kB / 1.467 GB, free: 15.78 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00687/0.58, allocations: 0.885 MB / 1.468 GB, free: 14.89 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.58, allocations: 7.984 kB / 1.468 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.58, allocations: 0 / 1.468 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.5819, allocations: 281.4 kB / 1.469 GB, free: 14.6 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.5824, allocations: 71.81 kB / 1.469 GB, free: 14.53 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/0.5969, allocations: 3.86 MB / 1.472 GB, free: 10.44 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000884/0.5978, allocations: 75.69 kB / 1.472 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.5979, allocations: 19.97 kB / 1.472 GB, free: 10.34 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.0002492/0.5981, allocations: 137.8 kB / 1.473 GB, free: 10.2 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.5982, allocations: 31.81 kB / 1.473 GB, free: 10.17 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006871/0.6051, allocations: 0.9503 MB / 1.474 GB, free: 9.203 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.6051, allocations: 0 / 1.474 GB, free: 9.203 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6051, allocations: 4 kB / 1.474 GB, free: 9.199 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.6051, allocations: 3.984 kB / 1.474 GB, free: 9.195 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007273/0.6059, allocations: 344.1 kB / 1.474 GB, free: 8.816 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6059, allocations: 0 / 1.474 GB, free: 8.816 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.6063, allocations: 55.89 kB / 1.474 GB, free: 8.762 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.6081, allocations: 281.4 kB / 1.474 GB, free: 8.48 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.6081, allocations: 15.97 kB / 1.474 GB, free: 8.465 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/0.6224, allocations: 3.843 MB / 1.478 GB, free: 4.391 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6224, allocations: 0 / 1.478 GB, free: 4.391 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006788/0.6292, allocations: 0.9613 MB / 1.479 GB, free: 3.406 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.6294, allocations: 35.73 kB / 1.479 GB, free: 3.371 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.722e-05/0.6295, allocations: 8 kB / 1.479 GB, free: 3.363 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007284/0.6302, allocations: 39.95 kB / 1.479 GB, free: 3.324 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.6303, allocations: 27.89 kB / 1.479 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.6303, allocations: 19.97 kB / 1.479 GB, free: 3.277 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002866/0.6306, allocations: 219.1 kB / 1.479 GB, free: 3.066 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6306, allocations: 4 kB / 1.479 GB, free: 3.062 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006097/0.6312, allocations: 115.9 kB / 1.479 GB, free: 2.949 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.007257/0.6385, allocations: 1.51 MB / 1.481 GB, free: 1.406 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002881/0.6414, allocations: 0.716 MB / 1.482 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6414, allocations: 4 kB / 1.482 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.6429, allocations: 493.1 kB / 1.482 GB, free: 156 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007197/0.6437, allocations: 111.4 kB / 1.482 GB, free: 48 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/0.6626, allocations: 4.394 MB / 1.486 GB, free: 11.55 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.6628, allocations: 164.5 kB / 1.487 GB, free: 11.36 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004469/0.6632, allocations: 78.88 kB / 1.487 GB, free: 11.29 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.6635, allocations: 99.38 kB / 1.487 GB, free: 11.19 MB / 1.186 GB Notification: Performance of SimCode: time 1.212e-06/0.6635, allocations: 4 kB / 1.487 GB, free: 11.18 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05751/0.721, allocations: 18.43 MB / 1.505 GB, free: 9.039 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.94, allocations: 9.953 kB / 1.505 GB, free: 9.031 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.940495858434588]