Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001906/0.001906, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002295/0.002295, allocations: 159.2 kB / 23.01 MB, free: 4.602 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.404/1.404, allocations: 177.2 MB / 203.4 MB, free: 8.883 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.856/2.856, allocations: 394.2 MB / 0.6386 GB, free: 11.9 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002974/0.002974, allocations: 71.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8782/0.8811, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2117/1.093, allocations: 155.8 MB / 1.339 GB, free: 9.965 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01715/1.11, allocations: 10.31 MB / 1.349 GB, free: 15.62 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/1.111, allocations: 39.69 kB / 1.349 GB, free: 15.59 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/1.113, allocations: 432.6 kB / 1.349 GB, free: 15.16 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003552/1.116, allocations: 1.129 MB / 1.35 GB, free: 14.03 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004593/1.121, allocations: 1.739 MB / 1.352 GB, free: 12.3 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003402/1.124, allocations: 2.4 MB / 1.354 GB, free: 9.887 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/1.126, allocations: 1.112 MB / 1.356 GB, free: 8.734 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00452/1.131, allocations: 1.49 MB / 1.357 GB, free: 7.262 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/1.132, allocations: 0.7582 MB / 1.358 GB, free: 6.5 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003011/1.132, allocations: 160 kB / 1.358 GB, free: 6.344 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002945/1.135, allocations: 1.267 MB / 1.359 GB, free: 5.074 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005056/1.136, allocations: 458.6 kB / 1.36 GB, free: 4.625 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008371/1.137, allocations: 0.6415 MB / 1.36 GB, free: 3.98 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004473/1.141, allocations: 2.623 MB / 1.363 GB, free: 1.348 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.141, allocations: 4 kB / 1.363 GB, free: 1.344 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.673e-06/1.141, allocations: 0 / 1.363 GB, free: 1.344 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.05e-05/1.141, allocations: 0 / 1.363 GB, free: 1.344 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.003838/1.145, allocations: 1.883 MB / 1.365 GB, free: 15.41 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.145, allocations: 8.031 kB / 1.365 GB, free: 15.4 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/1.148, allocations: 410.5 kB / 1.365 GB, free: 15 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/1.15, allocations: 0.9201 MB / 1.366 GB, free: 14.05 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.964e-05/1.15, allocations: 86.33 kB / 1.366 GB, free: 13.96 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/1.15, allocations: 120 kB / 1.366 GB, free: 13.85 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/1.153, allocations: 1.675 MB / 1.368 GB, free: 12.02 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/1.153, allocations: 4 kB / 1.368 GB, free: 12.01 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/1.153, allocations: 52 kB / 1.368 GB, free: 11.96 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/1.153, allocations: 28 kB / 1.368 GB, free: 11.93 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/1.156, allocations: 1.402 MB / 1.369 GB, free: 10.52 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 preOpt removeSimpleEquations (simulation): time 0.006399/1.162, allocations: 2.96 MB / 1.372 GB, free: 7.504 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/1.164, allocations: 1.074 MB / 1.373 GB, free: 6.426 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/1.165, allocations: 415.6 kB / 1.373 GB, free: 6.016 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/1.166, allocations: 113.6 kB / 1.374 GB, free: 5.906 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/1.167, allocations: 0.8865 MB / 1.374 GB, free: 4.945 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 3.126e-06/1.167, allocations: 0 / 1.374 GB, free: 4.945 MB / 1.217 GB Notification: Performance of matching and sorting (n=106): time 0.004376/1.172, allocations: 1.531 MB / 1.376 GB, free: 3.41 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/1.172, allocations: 196.9 kB / 1.376 GB, free: 3.176 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/1.173, allocations: 0.7433 MB / 1.377 GB, free: 2.426 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-05/1.173, allocations: 49.7 kB / 1.377 GB, free: 2.371 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005315/1.174, allocations: 0.5362 MB / 1.377 GB, free: 1.828 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/1.174, allocations: 376.8 kB / 1.378 GB, free: 1.457 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003694/1.174, allocations: 214.8 kB / 1.378 GB, free: 1.242 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.175, allocations: 341.9 kB / 1.378 GB, free: 0.9023 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008348/1.175, allocations: 390.3 kB / 1.379 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/1.176, allocations: 0.6803 MB / 1.379 GB, free: 15.77 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/1.178, allocations: 0.868 MB / 1.38 GB, free: 14.88 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.178, allocations: 3.938 kB / 1.38 GB, free: 14.88 MB / 1.232 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002906/1.181, allocations: 1.158 MB / 1.381 GB, free: 13.71 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.181, allocations: 4 kB / 1.381 GB, free: 13.71 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.181, allocations: 0 / 1.381 GB, free: 13.71 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006489/1.182, allocations: 88.86 kB / 1.381 GB, free: 13.62 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.183, allocations: 231.7 kB / 1.382 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/1.185, allocations: 1.516 MB / 1.383 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/1.186, allocations: 103.5 kB / 1.383 GB, free: 11.67 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/1.187, allocations: 43.97 kB / 1.383 GB, free: 11.62 MB / 1.232 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.0007032/1.187, allocations: 339.5 kB / 1.384 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/1.188, allocations: 115.2 kB / 1.384 GB, free: 11.17 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003532/1.191, allocations: 1.492 MB / 1.385 GB, free: 9.656 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/1.191, allocations: 12 kB / 1.385 GB, free: 9.645 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/1.191, allocations: 0 / 1.385 GB, free: 9.645 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/1.191, allocations: 11.86 kB / 1.385 GB, free: 9.633 MB / 1.232 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.005163/1.196, allocations: 2.389 MB / 1.388 GB, free: 7.18 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.196, allocations: 0 / 1.388 GB, free: 7.18 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000981/1.197, allocations: 203.7 kB / 1.388 GB, free: 6.98 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004809/1.198, allocations: 72.97 kB / 1.388 GB, free: 6.906 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.56e-05/1.198, allocations: 31.97 kB / 1.388 GB, free: 6.875 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/1.2, allocations: 1.54 MB / 1.389 GB, free: 5.227 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.2, allocations: 4.031 kB / 1.389 GB, free: 5.223 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003923/1.204, allocations: 1.866 MB / 1.391 GB, free: 3.32 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006358/1.205, allocations: 258.8 kB / 1.391 GB, free: 3.066 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/1.205, allocations: 24.23 kB / 1.391 GB, free: 3.043 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009678/1.206, allocations: 75.91 kB / 1.391 GB, free: 2.969 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/1.206, allocations: 92.83 kB / 1.392 GB, free: 2.879 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.206, allocations: 47.97 kB / 1.392 GB, free: 2.832 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008797/1.207, allocations: 0.5302 MB / 1.392 GB, free: 2.309 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.207, allocations: 4 kB / 1.392 GB, free: 2.305 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001391/1.208, allocations: 482.7 kB / 1.393 GB, free: 1.832 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.002486/1.211, allocations: 0.7339 MB / 1.393 GB, free: 1.305 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00249/1.213, allocations: 1.061 MB / 1.394 GB, free: 236 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/1.213, allocations: 4 kB / 1.394 GB, free: 232 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/1.215, allocations: 0.6218 MB / 1.395 GB, free: 15.59 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/1.217, allocations: 439.3 kB / 1.395 GB, free: 15.19 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004828/1.222, allocations: 2.422 MB / 1.398 GB, free: 12.71 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000786/1.222, allocations: 0.5793 MB / 1.398 GB, free: 12.09 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001262/1.224, allocations: 352.6 kB / 1.399 GB, free: 11.75 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/1.224, allocations: 132.4 kB / 1.399 GB, free: 11.62 MB / 1.248 GB Notification: Performance of SimCode: time 1.062e-06/1.224, allocations: 0 / 1.399 GB, free: 11.62 MB / 1.248 GB Notification: Performance of Templates: time 0.04094/1.265, allocations: 22.11 MB / 1.42 GB, free: 5.883 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.438690030947328]