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.001293/0.001293, allocations: 110.8 kB / 18.88 MB, free: 3.043 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.001595/0.001595, allocations: 198 kB / 22.17 MB, free: 5.195 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.502/1.502, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.907/2.907, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] 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.002058/0.002058, allocations: 67.91 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8567/0.8588, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2164/1.075, allocations: 177.4 MB / 1.447 GB, free: 2.508 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01662/1.092, allocations: 11.11 MB / 1.458 GB, free: 7.359 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/1.093, allocations: 31.81 kB / 1.458 GB, free: 7.328 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/1.094, allocations: 424.7 kB / 1.459 GB, free: 6.91 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003254/1.098, allocations: 1.122 MB / 1.46 GB, free: 5.785 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004502/1.102, allocations: 1.753 MB / 1.461 GB, free: 4.039 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003511/1.106, allocations: 2.381 MB / 1.464 GB, free: 1.648 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/1.108, allocations: 1.123 MB / 1.465 GB, free: 496 kB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003792/1.111, allocations: 1.313 MB / 1.466 GB, free: 15.18 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/1.113, allocations: 0.8286 MB / 1.467 GB, free: 14.35 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002421/1.113, allocations: 156 kB / 1.467 GB, free: 14.2 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/1.116, allocations: 1.462 MB / 1.468 GB, free: 12.73 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004909/1.117, allocations: 454.6 kB / 1.469 GB, free: 12.29 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009588/1.118, allocations: 0.7852 MB / 1.47 GB, free: 11.5 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004692/1.122, allocations: 2.588 MB / 1.472 GB, free: 8.902 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.122, allocations: 0 / 1.472 GB, free: 8.902 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.294e-06/1.122, allocations: 0 / 1.472 GB, free: 8.902 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.041e-05/1.122, allocations: 4 kB / 1.472 GB, free: 8.898 MB / 1.17 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.00383/1.126, allocations: 1.939 MB / 1.474 GB, free: 6.895 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.126, allocations: 8.031 kB / 1.474 GB, free: 6.887 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/1.128, allocations: 354.7 kB / 1.474 GB, free: 6.539 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/1.13, allocations: 0.9962 MB / 1.475 GB, free: 5.5 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/1.13, allocations: 86.33 kB / 1.475 GB, free: 5.414 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/1.131, allocations: 116 kB / 1.476 GB, free: 5.301 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/1.133, allocations: 1.298 MB / 1.477 GB, free: 3.938 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/1.133, allocations: 0 / 1.477 GB, free: 3.938 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/1.133, allocations: 48 kB / 1.477 GB, free: 3.891 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/1.133, allocations: 32 kB / 1.477 GB, free: 3.859 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/1.136, allocations: 1.457 MB / 1.478 GB, free: 2.395 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 preOpt removeSimpleEquations (simulation): time 0.007006/1.143, allocations: 4.047 MB / 1.482 GB, free: 14.14 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/1.146, allocations: 1.149 MB / 1.483 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/1.146, allocations: 415.6 kB / 1.484 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000838/1.147, allocations: 429.2 kB / 1.484 GB, free: 12.06 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/1.149, allocations: 0.6606 MB / 1.485 GB, free: 11.39 MB / 1.186 GB Notification: Performance of pre-optimization done (n=106): time 2.825e-06/1.149, allocations: 0 / 1.485 GB, free: 11.39 MB / 1.186 GB Notification: Performance of matching and sorting (n=106): time 0.00436/1.153, allocations: 1.618 MB / 1.486 GB, free: 9.738 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/1.153, allocations: 188.9 kB / 1.487 GB, free: 9.512 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/1.154, allocations: 0.8786 MB / 1.487 GB, free: 8.609 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/1.155, allocations: 49.7 kB / 1.488 GB, free: 8.555 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/1.155, allocations: 0.5247 MB / 1.488 GB, free: 8.023 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/1.155, allocations: 368.8 kB / 1.488 GB, free: 7.66 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/1.156, allocations: 210.9 kB / 1.489 GB, free: 7.449 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.156, allocations: 349.9 kB / 1.489 GB, free: 7.102 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/1.157, allocations: 382.4 kB / 1.489 GB, free: 6.727 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000971/1.158, allocations: 0.5085 MB / 1.49 GB, free: 6.195 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/1.159, allocations: 0.868 MB / 1.491 GB, free: 5.309 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.159, allocations: 0 / 1.491 GB, free: 5.309 MB / 1.186 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002845/1.162, allocations: 1.169 MB / 1.492 GB, free: 4.133 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/1.162, allocations: 9.703 kB / 1.492 GB, free: 4.125 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.162, allocations: 0 / 1.492 GB, free: 4.125 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006352/1.163, allocations: 84.88 kB / 1.492 GB, free: 4.039 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.164, allocations: 235.6 kB / 1.492 GB, free: 3.809 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/1.166, allocations: 1.652 MB / 1.494 GB, free: 2.012 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.168, allocations: 131.2 kB / 1.494 GB, free: 1.883 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/1.168, allocations: 47.97 kB / 1.494 GB, free: 1.836 MB / 1.186 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.0006581/1.168, allocations: 331.5 kB / 1.494 GB, free: 1.504 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/1.169, allocations: 127.2 kB / 1.494 GB, free: 1.379 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/1.172, allocations: 1.497 MB / 1.496 GB, free: 15.86 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/1.172, allocations: 16 kB / 1.496 GB, free: 15.84 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.172, allocations: 0 / 1.496 GB, free: 15.84 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.172, allocations: 3.984 kB / 1.496 GB, free: 15.84 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 postOpt removeSimpleEquations (simulation): time 0.005372/1.177, allocations: 2.847 MB / 1.499 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.177, allocations: 0 / 1.499 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009395/1.178, allocations: 195.8 kB / 1.499 GB, free: 12.69 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/1.179, allocations: 80.91 kB / 1.499 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.189e-05/1.179, allocations: 35.97 kB / 1.499 GB, free: 12.57 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/1.181, allocations: 1.682 MB / 1.501 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.181, allocations: 0 / 1.501 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003838/1.185, allocations: 1.87 MB / 1.502 GB, free: 8.84 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007312/1.185, allocations: 344 kB / 1.503 GB, free: 8.484 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/1.186, allocations: 27.98 kB / 1.503 GB, free: 8.457 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009651/1.187, allocations: 75.92 kB / 1.503 GB, free: 8.383 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/1.187, allocations: 88.77 kB / 1.503 GB, free: 8.297 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.646e-05/1.187, allocations: 47.97 kB / 1.503 GB, free: 8.25 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009638/1.188, allocations: 0.6261 MB / 1.504 GB, free: 7.613 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/1.188, allocations: 0 / 1.504 GB, free: 7.613 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001326/1.189, allocations: 470.9 kB / 1.504 GB, free: 7.152 MB / 1.201 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.002286/1.191, allocations: 0.7208 MB / 1.505 GB, free: 6.629 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002423/1.194, allocations: 1.054 MB / 1.506 GB, free: 5.562 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.194, allocations: 4 kB / 1.506 GB, free: 5.559 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/1.195, allocations: 0.6295 MB / 1.506 GB, free: 4.914 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/1.198, allocations: 0.5213 MB / 1.507 GB, free: 4.414 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/1.202, allocations: 2.423 MB / 1.509 GB, free: 1.945 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008559/1.203, allocations: 1.158 MB / 1.51 GB, free: 0.7578 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001249/1.204, allocations: 373.6 kB / 1.511 GB, free: 400 kB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/1.205, allocations: 139.4 kB / 1.511 GB, free: 260 kB / 1.201 GB Notification: Performance of SimCode: time 9.62e-07/1.205, allocations: 0 / 1.511 GB, free: 260 kB / 1.201 GB Notification: Performance of Templates: time 0.04426/1.249, allocations: 24.47 MB / 1.535 GB, free: 8.094 MB / 1.232 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.495569453574717]