Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 113.9 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 189.9 kB / 20.78 MB, free: 1.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.733/2.733, allocations: 476.7 MB / 0.7629 GB, free: 15.23 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.89 kB / 1.107 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2328/1.26, allocations: 177.4 MB / 1.445 GB, free: 2.812 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01726/1.277, allocations: 11.09 MB / 1.456 GB, free: 8.059 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/1.279, allocations: 31.81 kB / 1.456 GB, free: 8.027 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/1.28, allocations: 424.6 kB / 1.456 GB, free: 7.609 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003607/1.284, allocations: 1.123 MB / 1.458 GB, free: 6.484 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004704/1.288, allocations: 1.746 MB / 1.459 GB, free: 4.742 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003769/1.292, allocations: 2.381 MB / 1.462 GB, free: 2.352 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/1.294, allocations: 1.123 MB / 1.463 GB, free: 1.188 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/1.298, allocations: 1.306 MB / 1.464 GB, free: 15.9 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/1.299, allocations: 0.8325 MB / 1.465 GB, free: 15.07 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002762/1.3, allocations: 160 kB / 1.465 GB, free: 14.91 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/1.303, allocations: 1.47 MB / 1.466 GB, free: 13.44 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004954/1.303, allocations: 450.6 kB / 1.467 GB, free: 13 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009549/1.304, allocations: 0.7814 MB / 1.468 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004476/1.309, allocations: 2.584 MB / 1.47 GB, free: 9.617 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/1.309, allocations: 7.938 kB / 1.47 GB, free: 9.609 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.352e-06/1.309, allocations: 0 / 1.47 GB, free: 9.609 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.778e-05/1.309, allocations: 0 / 1.47 GB, free: 9.609 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003791/1.312, allocations: 1.947 MB / 1.472 GB, free: 7.598 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.312, allocations: 8.031 kB / 1.472 GB, free: 7.59 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/1.315, allocations: 362.7 kB / 1.472 GB, free: 7.234 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/1.316, allocations: 0.9845 MB / 1.473 GB, free: 6.207 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.862e-05/1.317, allocations: 86.33 kB / 1.473 GB, free: 6.121 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/1.317, allocations: 120 kB / 1.473 GB, free: 6.004 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/1.319, allocations: 1.306 MB / 1.475 GB, free: 4.633 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/1.319, allocations: 0 / 1.475 GB, free: 4.633 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/1.319, allocations: 48 kB / 1.475 GB, free: 4.586 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/1.32, allocations: 28 kB / 1.475 GB, free: 4.559 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/1.322, allocations: 1.449 MB / 1.476 GB, free: 3.102 MB / 1.154 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.007182/1.33, allocations: 4.043 MB / 1.48 GB, free: 14.85 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/1.332, allocations: 1.15 MB / 1.481 GB, free: 13.68 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008358/1.333, allocations: 415.6 kB / 1.482 GB, free: 13.27 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008893/1.334, allocations: 425.3 kB / 1.482 GB, free: 12.78 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/1.335, allocations: 0.6606 MB / 1.483 GB, free: 12.1 MB / 1.17 GB Notification: Performance of pre-optimization done (n=106): time 2.776e-06/1.335, allocations: 0 / 1.483 GB, free: 12.1 MB / 1.17 GB Notification: Performance of matching and sorting (n=106): time 0.00463/1.34, allocations: 1.61 MB / 1.484 GB, free: 10.46 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/1.34, allocations: 196.9 kB / 1.485 GB, free: 10.23 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/1.341, allocations: 0.8824 MB / 1.485 GB, free: 9.324 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/1.341, allocations: 45.7 kB / 1.485 GB, free: 9.273 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/1.342, allocations: 0.5208 MB / 1.486 GB, free: 8.746 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/1.342, allocations: 380.8 kB / 1.486 GB, free: 8.371 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003945/1.343, allocations: 210.9 kB / 1.486 GB, free: 8.156 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001953/1.343, allocations: 345.9 kB / 1.487 GB, free: 7.812 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000817/1.344, allocations: 390.3 kB / 1.487 GB, free: 7.434 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009844/1.345, allocations: 0.5046 MB / 1.488 GB, free: 6.898 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/1.346, allocations: 0.8641 MB / 1.489 GB, free: 6.02 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.346, allocations: 4 kB / 1.489 GB, free: 6.016 MB / 1.17 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002848/1.349, allocations: 1.165 MB / 1.49 GB, free: 4.84 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/1.349, allocations: 7.938 kB / 1.49 GB, free: 4.832 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.349, allocations: 4 kB / 1.49 GB, free: 4.828 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006496/1.35, allocations: 84.86 kB / 1.49 GB, free: 4.742 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/1.351, allocations: 231.7 kB / 1.49 GB, free: 4.516 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/1.354, allocations: 1.657 MB / 1.492 GB, free: 2.719 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.355, allocations: 131.2 kB / 1.492 GB, free: 2.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/1.355, allocations: 47.97 kB / 1.492 GB, free: 2.543 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (128): * Single equations (assignments): 127 * 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.0006687/1.356, allocations: 331.2 kB / 1.492 GB, free: 2.207 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/1.356, allocations: 123.2 kB / 1.492 GB, free: 2.086 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003399/1.359, allocations: 1.513 MB / 1.494 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/1.359, allocations: 15.94 kB / 1.494 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.359, allocations: 0 / 1.494 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/1.359, allocations: 3.984 kB / 1.494 GB, free: 0.5273 MB / 1.17 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.005285/1.365, allocations: 2.835 MB / 1.496 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/1.365, allocations: 0 / 1.496 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009628/1.366, allocations: 195.7 kB / 1.497 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004843/1.366, allocations: 80.97 kB / 1.497 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.001e-05/1.366, allocations: 31.92 kB / 1.497 GB, free: 13.28 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/1.368, allocations: 1.678 MB / 1.498 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.368, allocations: 0 / 1.498 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00387/1.372, allocations: 1.874 MB / 1.5 GB, free: 9.551 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/1.373, allocations: 348 kB / 1.501 GB, free: 9.191 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/1.373, allocations: 28.02 kB / 1.501 GB, free: 9.164 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009182/1.374, allocations: 75.92 kB / 1.501 GB, free: 9.09 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/1.374, allocations: 93.05 kB / 1.501 GB, free: 9 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.374, allocations: 47.97 kB / 1.501 GB, free: 8.953 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009652/1.375, allocations: 0.6222 MB / 1.501 GB, free: 8.32 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.375, allocations: 0 / 1.501 GB, free: 8.32 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001254/1.376, allocations: 470.9 kB / 1.502 GB, free: 7.859 MB / 1.186 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.002275/1.379, allocations: 0.7108 MB / 1.503 GB, free: 7.328 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002438/1.381, allocations: 1.058 MB / 1.504 GB, free: 6.258 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.381, allocations: 4.25 kB / 1.504 GB, free: 6.254 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/1.383, allocations: 0.6289 MB / 1.504 GB, free: 5.609 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.385, allocations: 0.5279 MB / 1.505 GB, free: 5.102 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/1.389, allocations: 2.43 MB / 1.507 GB, free: 2.629 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008772/1.39, allocations: 1.158 MB / 1.508 GB, free: 1.438 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001333/1.392, allocations: 365.7 kB / 1.509 GB, free: 1.078 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/1.392, allocations: 139.4 kB / 1.509 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of SimCode: time 1.272e-06/1.392, allocations: 0 / 1.509 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of Templates: time 0.04763/1.44, allocations: 24.47 MB / 1.533 GB, free: 8.766 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.682006228715181]