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.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.001607/0.001607, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002534/0.002534, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.577/1.577, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.663/2.663, allocations: 359.1 MB / 0.6044 GB, free: 14.75 MB / 0.5762 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: 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: 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.003132/0.003132, allocations: 72.17 kB / 0.9515 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3472, allocations: 169.9 MB / 1.117 GB, free: 2.473 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.8094/1.157, allocations: 155.8 MB / 1.27 GB, free: 7.062 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01702/1.174, allocations: 10.31 MB / 1.28 GB, free: 96 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/1.175, allocations: 43.78 kB / 1.28 GB, free: 72 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/1.177, allocations: 423.7 kB / 1.28 GB, free: 15.79 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004037/1.181, allocations: 1.136 MB / 1.281 GB, free: 15.14 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005475/1.186, allocations: 1.743 MB / 1.283 GB, free: 14.24 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003875/1.19, allocations: 2.403 MB / 1.285 GB, free: 13.06 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/1.192, allocations: 1.112 MB / 1.286 GB, free: 12.48 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004274/1.196, allocations: 1.335 MB / 1.288 GB, free: 11.89 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/1.198, allocations: 0.7672 MB / 1.288 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002529/1.198, allocations: 157.3 kB / 1.289 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/1.201, allocations: 1.273 MB / 1.29 GB, free: 11.16 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005198/1.202, allocations: 462.5 kB / 1.29 GB, free: 10.9 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008802/1.203, allocations: 0.6536 MB / 1.291 GB, free: 10.53 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004921/1.208, allocations: 2.624 MB / 1.293 GB, free: 9.496 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.208, allocations: 0 / 1.293 GB, free: 9.496 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.094e-06/1.208, allocations: 1.594 kB / 1.293 GB, free: 9.496 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.558e-05/1.208, allocations: 0 / 1.293 GB, free: 9.496 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004119/1.212, allocations: 1.888 MB / 1.295 GB, free: 8.293 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/1.212, allocations: 9.125 kB / 1.295 GB, free: 8.293 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002869/1.215, allocations: 408.3 kB / 1.296 GB, free: 8.184 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/1.217, allocations: 0.9186 MB / 1.297 GB, free: 7.645 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-05/1.217, allocations: 94.27 kB / 1.297 GB, free: 7.598 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/1.217, allocations: 117.6 kB / 1.297 GB, free: 7.559 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/1.22, allocations: 1.674 MB / 1.298 GB, free: 6.52 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/1.22, allocations: 0 / 1.298 GB, free: 6.52 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/1.22, allocations: 47.56 kB / 1.298 GB, free: 6.484 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/1.22, allocations: 29.47 kB / 1.298 GB, free: 6.484 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/1.222, allocations: 1.408 MB / 1.3 GB, free: 6.109 MB / 1.139 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.006301/1.229, allocations: 2.941 MB / 1.303 GB, free: 4.281 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/1.231, allocations: 1.079 MB / 1.304 GB, free: 3.719 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007902/1.232, allocations: 414.1 kB / 1.304 GB, free: 3.512 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006252/1.232, allocations: 110.4 kB / 1.304 GB, free: 3.469 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001347/1.234, allocations: 0.8898 MB / 1.305 GB, free: 2.77 MB / 1.139 GB Notification: Performance of pre-optimization done (n=106): time 3.025e-06/1.234, allocations: 0 / 1.305 GB, free: 2.77 MB / 1.139 GB Notification: Performance of matching and sorting (n=106): time 0.004286/1.238, allocations: 1.534 MB / 1.307 GB, free: 2.012 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.238, allocations: 197.3 kB / 1.307 GB, free: 1.789 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/1.239, allocations: 0.7427 MB / 1.308 GB, free: 1.367 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/1.239, allocations: 48.33 kB / 1.308 GB, free: 1.32 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/1.24, allocations: 0.5299 MB / 1.308 GB, free: 0.8516 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/1.24, allocations: 376.9 kB / 1.308 GB, free: 0.5234 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/1.24, allocations: 223.1 kB / 1.309 GB, free: 400 kB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.241, allocations: 343.4 kB / 1.309 GB, free: 60 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008171/1.241, allocations: 382.3 kB / 1.309 GB, free: 15.87 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/1.242, allocations: 0.6819 MB / 1.31 GB, free: 15.35 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/1.244, allocations: 0.8703 MB / 1.311 GB, free: 14.88 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.244, allocations: 0 / 1.311 GB, free: 14.88 MB / 1.154 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002719/1.247, allocations: 1.161 MB / 1.312 GB, free: 14.3 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.247, allocations: 5.469 kB / 1.312 GB, free: 14.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.247, allocations: 3.984 kB / 1.312 GB, free: 14.29 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/1.247, allocations: 84.56 kB / 1.312 GB, free: 14.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009894/1.248, allocations: 237.2 kB / 1.312 GB, free: 14.2 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/1.251, allocations: 1.518 MB / 1.314 GB, free: 12.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/1.252, allocations: 111.5 kB / 1.314 GB, free: 12.68 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/1.252, allocations: 48.75 kB / 1.314 GB, free: 12.66 MB / 1.154 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.0007308/1.253, allocations: 329.4 kB / 1.314 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/1.253, allocations: 104.7 kB / 1.314 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/1.256, allocations: 1.493 MB / 1.316 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/1.256, allocations: 14.66 kB / 1.316 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/1.256, allocations: 0 / 1.316 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/1.256, allocations: 7.922 kB / 1.316 GB, free: 11.5 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 postOpt removeSimpleEquations (simulation): time 0.005147/1.261, allocations: 2.387 MB / 1.318 GB, free: 9.824 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.381e-06/1.261, allocations: 9 kB / 1.318 GB, free: 9.816 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009583/1.262, allocations: 196 kB / 1.318 GB, free: 9.625 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/1.263, allocations: 72.78 kB / 1.318 GB, free: 9.551 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.131e-05/1.263, allocations: 35.97 kB / 1.319 GB, free: 9.516 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/1.265, allocations: 1.544 MB / 1.32 GB, free: 7.863 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.265, allocations: 4.062 kB / 1.32 GB, free: 7.859 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004015/1.269, allocations: 1.866 MB / 1.322 GB, free: 5.953 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007707/1.27, allocations: 251 kB / 1.322 GB, free: 5.707 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/1.27, allocations: 27.94 kB / 1.322 GB, free: 5.68 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.271, allocations: 75.92 kB / 1.322 GB, free: 5.605 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/1.271, allocations: 96.77 kB / 1.322 GB, free: 5.512 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/1.271, allocations: 43.97 kB / 1.322 GB, free: 5.469 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009133/1.272, allocations: 0.5341 MB / 1.323 GB, free: 4.941 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.272, allocations: 0 / 1.323 GB, free: 4.941 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001642/1.274, allocations: 486.7 kB / 1.323 GB, free: 4.465 MB / 1.154 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.002694/1.276, allocations: 0.7387 MB / 1.324 GB, free: 3.938 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002803/1.279, allocations: 1.058 MB / 1.325 GB, free: 2.863 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.279, allocations: 4 kB / 1.325 GB, free: 2.859 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/1.281, allocations: 0.6133 MB / 1.326 GB, free: 2.238 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/1.283, allocations: 446.7 kB / 1.326 GB, free: 1.828 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007158/1.29, allocations: 2.43 MB / 1.328 GB, free: 15.35 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.292, allocations: 0.5786 MB / 1.329 GB, free: 14.74 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002591/1.294, allocations: 360.5 kB / 1.329 GB, free: 14.38 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007863/1.295, allocations: 136.4 kB / 1.33 GB, free: 14.25 MB / 1.17 GB Notification: Performance of SimCode: time 2.935e-06/1.295, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.17 GB Notification: Performance of Templates: time 0.04395/1.339, allocations: 22.12 MB / 1.351 GB, free: 8.559 MB / 1.186 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 ida -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/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.503142767003737]