Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.001274/0.001274, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001408/0.001408, allocations: 219 kB / 23.03 MB, free: 4.945 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 2.961/2.961, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside",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.002015/0.002015, allocations: 71.44 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3924, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1977/0.59, allocations: 155.7 MB / 1.479 GB, free: 5.191 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.6067, allocations: 10.28 MB / 1.489 GB, free: 10.88 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.6081, allocations: 43.62 kB / 1.489 GB, free: 10.83 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.6098, allocations: 424.6 kB / 1.489 GB, free: 10.41 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004108/0.6139, allocations: 1.139 MB / 1.49 GB, free: 9.273 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005107/0.619, allocations: 1.751 MB / 1.492 GB, free: 7.527 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003579/0.6226, allocations: 2.404 MB / 1.494 GB, free: 5.117 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.6249, allocations: 1.128 MB / 1.495 GB, free: 3.949 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004714/0.6296, allocations: 1.49 MB / 1.497 GB, free: 2.477 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.6314, allocations: 0.8247 MB / 1.498 GB, free: 1.648 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.6325, allocations: 160 kB / 1.498 GB, free: 1.492 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004679/0.6371, allocations: 1.291 MB / 1.499 GB, free: 204 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.6383, allocations: 466.5 kB / 1.5 GB, free: 15.74 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002032/0.6404, allocations: 0.6416 MB / 1.5 GB, free: 15.1 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006698/0.6471, allocations: 2.627 MB / 1.503 GB, free: 12.46 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.6471, allocations: 0 / 1.503 GB, free: 12.46 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6471, allocations: 4 kB / 1.503 GB, free: 12.46 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.976e-05/0.6472, allocations: 0 / 1.503 GB, free: 12.46 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005814/0.653, allocations: 1.891 MB / 1.505 GB, free: 10.52 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.653, allocations: 8.031 kB / 1.505 GB, free: 10.51 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.158e-05/0.6531, allocations: 30.33 kB / 1.505 GB, free: 10.48 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005114/0.6536, allocations: 181.4 kB / 1.505 GB, free: 10.29 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/0.6568, allocations: 406.6 kB / 1.505 GB, free: 9.895 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/0.6594, allocations: 0.9279 MB / 1.506 GB, free: 8.934 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.6595, allocations: 86.33 kB / 1.506 GB, free: 8.848 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/0.6598, allocations: 112 kB / 1.506 GB, free: 8.738 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003604/0.6634, allocations: 1.683 MB / 1.508 GB, free: 6.898 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.6635, allocations: 0 / 1.508 GB, free: 6.898 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.6636, allocations: 48 kB / 1.508 GB, free: 6.852 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/0.6637, allocations: 28 kB / 1.508 GB, free: 6.824 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002961/0.6666, allocations: 1.453 MB / 1.509 GB, free: 5.363 MB / 1.201 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008077/0.6747, allocations: 3.142 MB / 1.512 GB, free: 2.148 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.6772, allocations: 1.086 MB / 1.514 GB, free: 1.051 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000915/0.6781, allocations: 409 kB / 1.514 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007234/0.6789, allocations: 128.8 kB / 1.514 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/0.6804, allocations: 0.8749 MB / 1.515 GB, free: 15.58 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 3.757e-06/0.6804, allocations: 7.938 kB / 1.515 GB, free: 15.57 MB / 1.217 GB Notification: Performance of matching and sorting (n=106): time 0.004612/0.6851, allocations: 1.543 MB / 1.516 GB, free: 14.02 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.6852, allocations: 192.9 kB / 1.517 GB, free: 13.79 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.6869, allocations: 0.9073 MB / 1.517 GB, free: 12.86 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000183/0.6871, allocations: 49.7 kB / 1.518 GB, free: 12.8 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005624/0.6877, allocations: 0.5285 MB / 1.518 GB, free: 12.27 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000423/0.6881, allocations: 372.8 kB / 1.518 GB, free: 11.9 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.6885, allocations: 190.6 kB / 1.519 GB, free: 11.71 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6887, allocations: 345.9 kB / 1.519 GB, free: 11.36 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008361/0.6895, allocations: 361.8 kB / 1.519 GB, free: 11.01 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.6906, allocations: 0.6767 MB / 1.52 GB, free: 10.25 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.6923, allocations: 0.8484 MB / 1.521 GB, free: 9.391 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.6923, allocations: 0 / 1.521 GB, free: 9.391 MB / 1.217 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002889/0.6952, allocations: 1.118 MB / 1.522 GB, free: 8.262 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.6952, allocations: 4 kB / 1.522 GB, free: 8.258 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.6952, allocations: 4 kB / 1.522 GB, free: 8.254 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/0.6959, allocations: 88.8 kB / 1.522 GB, free: 8.164 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.6969, allocations: 223.7 kB / 1.522 GB, free: 7.945 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.6993, allocations: 1.539 MB / 1.524 GB, free: 6.289 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.7004, allocations: 127.2 kB / 1.524 GB, free: 6.164 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.7006, allocations: 43.97 kB / 1.524 GB, free: 6.121 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000855/0.7015, allocations: 325.6 kB / 1.524 GB, free: 5.793 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000472/0.7019, allocations: 127.2 kB / 1.524 GB, free: 5.668 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/0.7058, allocations: 1.502 MB / 1.526 GB, free: 4.141 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.7058, allocations: 12 kB / 1.526 GB, free: 4.129 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.7059, allocations: 0 / 1.526 GB, free: 4.129 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.7059, allocations: 11.91 kB / 1.526 GB, free: 4.117 MB / 1.217 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006381/0.7123, allocations: 2.526 MB / 1.528 GB, free: 1.523 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.7123, allocations: 0 / 1.528 GB, free: 1.523 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.7133, allocations: 203.7 kB / 1.528 GB, free: 1.324 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004862/0.7138, allocations: 76.97 kB / 1.528 GB, free: 1.246 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.7139, allocations: 27.98 kB / 1.529 GB, free: 1.219 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.7161, allocations: 1.574 MB / 1.53 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7161, allocations: 0 / 1.53 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004446/0.7205, allocations: 1.878 MB / 1.532 GB, free: 13.61 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.7216, allocations: 267.1 kB / 1.532 GB, free: 13.35 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003918/0.722, allocations: 35.88 kB / 1.532 GB, free: 13.32 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.7231, allocations: 79.97 kB / 1.532 GB, free: 13.24 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/0.7234, allocations: 96.72 kB / 1.532 GB, free: 13.14 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/0.7236, allocations: 51.95 kB / 1.532 GB, free: 13.09 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001351/0.7249, allocations: 0.6462 MB / 1.533 GB, free: 12.44 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7249, allocations: 0 / 1.533 GB, free: 12.44 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001714/0.7266, allocations: 458.9 kB / 1.533 GB, free: 11.99 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007398/0.734, allocations: 3.057 MB / 1.536 GB, free: 9.098 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002764/0.7368, allocations: 1.023 MB / 1.537 GB, free: 8.059 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.7368, allocations: 4 kB / 1.537 GB, free: 8.055 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.7382, allocations: 0.6289 MB / 1.538 GB, free: 7.414 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/0.741, allocations: 0.5181 MB / 1.539 GB, free: 6.914 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/0.7593, allocations: 8.889 MB / 1.547 GB, free: 13.83 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007836/0.7601, allocations: 0.5754 MB / 1.548 GB, free: 13.22 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00155/0.7616, allocations: 369.8 kB / 1.548 GB, free: 12.86 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.7627, allocations: 0.5383 MB / 1.549 GB, free: 12.32 MB / 1.248 GB Notification: Performance of SimCode: time 1.543e-06/0.7627, allocations: 0 / 1.549 GB, free: 12.32 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08399/0.8467, allocations: 35.98 MB / 1.584 GB, free: 8.914 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/16.03, allocations: 14.5 kB / 1.584 GB, free: 8.902 MB / 1.279 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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: 22.79517803096678]