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.001807/0.001807, allocations: 83.42 kB / 19.76 MB, free: 2.016 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.002195/0.002195, allocations: 152.6 kB / 23.01 MB, free: 4.973 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.488/1.488, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.891/2.891, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_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_12_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.002325/0.002325, allocations: 66.25 kB / 0.9819 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9656/0.9679, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2184/1.186, allocations: 155.8 MB / 1.306 GB, free: 8.211 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.018/1.204, allocations: 10.32 MB / 1.316 GB, free: 160 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/1.206, allocations: 44.22 kB / 1.316 GB, free: 136 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/1.208, allocations: 427.2 kB / 1.317 GB, free: 15.76 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004117/1.212, allocations: 1.124 MB / 1.318 GB, free: 14.91 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00523/1.217, allocations: 1.753 MB / 1.319 GB, free: 13.6 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003997/1.221, allocations: 2.388 MB / 1.322 GB, free: 12.16 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/1.223, allocations: 1.11 MB / 1.323 GB, free: 11.36 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004765/1.228, allocations: 1.489 MB / 1.324 GB, free: 10.16 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/1.229, allocations: 0.7544 MB / 1.325 GB, free: 9.402 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003151/1.23, allocations: 156 kB / 1.325 GB, free: 9.25 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00355/1.233, allocations: 1.283 MB / 1.326 GB, free: 7.965 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005598/1.234, allocations: 450.6 kB / 1.327 GB, free: 7.523 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000971/1.235, allocations: 0.6493 MB / 1.327 GB, free: 6.871 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005332/1.24, allocations: 2.623 MB / 1.33 GB, free: 4.238 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.24, allocations: 0 / 1.33 GB, free: 4.238 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.615e-06/1.24, allocations: 0 / 1.33 GB, free: 4.238 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.01e-05/1.24, allocations: 0 / 1.33 GB, free: 4.238 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.004041/1.244, allocations: 1.886 MB / 1.332 GB, free: 2.309 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.244, allocations: 8.031 kB / 1.332 GB, free: 2.301 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/1.247, allocations: 406.6 kB / 1.332 GB, free: 1.902 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/1.249, allocations: 0.924 MB / 1.333 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.593e-05/1.249, allocations: 86.33 kB / 1.333 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/1.249, allocations: 120 kB / 1.333 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/1.252, allocations: 1.676 MB / 1.335 GB, free: 14.91 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/1.252, allocations: 0 / 1.335 GB, free: 14.91 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/1.252, allocations: 48 kB / 1.335 GB, free: 14.86 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/1.252, allocations: 28 kB / 1.335 GB, free: 14.84 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/1.255, allocations: 1.41 MB / 1.336 GB, free: 13.42 MB / 1.186 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.006382/1.261, allocations: 2.949 MB / 1.339 GB, free: 10.41 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/1.264, allocations: 1.073 MB / 1.34 GB, free: 9.332 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000816/1.264, allocations: 419.6 kB / 1.341 GB, free: 8.918 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006378/1.265, allocations: 109.6 kB / 1.341 GB, free: 8.812 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001396/1.267, allocations: 0.8865 MB / 1.342 GB, free: 7.852 MB / 1.186 GB Notification: Performance of pre-optimization done (n=106): time 2.986e-06/1.267, allocations: 0 / 1.342 GB, free: 7.852 MB / 1.186 GB Notification: Performance of matching and sorting (n=106): time 0.004427/1.271, allocations: 1.539 MB / 1.343 GB, free: 6.305 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/1.271, allocations: 192.9 kB / 1.343 GB, free: 6.074 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/1.272, allocations: 0.7433 MB / 1.344 GB, free: 5.32 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/1.272, allocations: 45.7 kB / 1.344 GB, free: 5.27 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005642/1.273, allocations: 0.5402 MB / 1.345 GB, free: 4.723 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003872/1.273, allocations: 380.8 kB / 1.345 GB, free: 4.348 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003661/1.274, allocations: 210.9 kB / 1.345 GB, free: 4.137 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.274, allocations: 341.9 kB / 1.346 GB, free: 3.797 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008491/1.275, allocations: 382.4 kB / 1.346 GB, free: 3.422 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/1.276, allocations: 0.6803 MB / 1.347 GB, free: 2.672 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/1.278, allocations: 0.8718 MB / 1.348 GB, free: 1.785 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/1.278, allocations: 3.938 kB / 1.348 GB, free: 1.781 MB / 1.186 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003044/1.281, allocations: 1.158 MB / 1.349 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.281, allocations: 8 kB / 1.349 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.281, allocations: 0 / 1.349 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006527/1.281, allocations: 84.88 kB / 1.349 GB, free: 0.5156 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.283, allocations: 231.7 kB / 1.349 GB, free: 296 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/1.285, allocations: 1.52 MB / 1.35 GB, free: 14.66 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.286, allocations: 112 kB / 1.351 GB, free: 14.55 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/1.286, allocations: 47.97 kB / 1.351 GB, free: 14.51 MB / 1.201 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.0007266/1.287, allocations: 335.5 kB / 1.351 GB, free: 14.17 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/1.287, allocations: 115.2 kB / 1.351 GB, free: 14.06 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/1.291, allocations: 1.496 MB / 1.352 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/1.291, allocations: 16 kB / 1.353 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/1.291, allocations: 0 / 1.353 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/1.291, allocations: 11.91 kB / 1.353 GB, free: 12.51 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.00545/1.296, allocations: 2.377 MB / 1.355 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.296, allocations: 4 kB / 1.355 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009584/1.297, allocations: 207.9 kB / 1.355 GB, free: 9.867 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/1.297, allocations: 68.8 kB / 1.355 GB, free: 9.797 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/1.298, allocations: 31.97 kB / 1.355 GB, free: 9.766 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/1.3, allocations: 1.536 MB / 1.357 GB, free: 8.121 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.3, allocations: 8.062 kB / 1.357 GB, free: 8.113 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004128/1.304, allocations: 1.862 MB / 1.358 GB, free: 6.215 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007968/1.305, allocations: 251 kB / 1.359 GB, free: 5.969 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/1.305, allocations: 35.94 kB / 1.359 GB, free: 5.934 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.306, allocations: 78.73 kB / 1.359 GB, free: 5.859 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/1.306, allocations: 93.02 kB / 1.359 GB, free: 5.77 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/1.306, allocations: 43.97 kB / 1.359 GB, free: 5.727 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009826/1.307, allocations: 0.5341 MB / 1.359 GB, free: 5.199 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.307, allocations: 0 / 1.359 GB, free: 5.199 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001675/1.309, allocations: 486.7 kB / 1.36 GB, free: 4.723 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.002789/1.312, allocations: 0.7421 MB / 1.361 GB, free: 4.184 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002844/1.315, allocations: 1.05 MB / 1.362 GB, free: 3.117 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/1.315, allocations: 4 kB / 1.362 GB, free: 3.113 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/1.316, allocations: 0.6211 MB / 1.362 GB, free: 2.48 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/1.318, allocations: 447.5 kB / 1.363 GB, free: 2.07 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/1.324, allocations: 2.426 MB / 1.365 GB, free: 15.59 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008259/1.324, allocations: 0.5817 MB / 1.366 GB, free: 14.97 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00135/1.326, allocations: 344.7 kB / 1.366 GB, free: 14.63 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004372/1.326, allocations: 136.4 kB / 1.366 GB, free: 14.5 MB / 1.217 GB Notification: Performance of SimCode: time 9.82e-07/1.326, allocations: 4 kB / 1.366 GB, free: 14.49 MB / 1.217 GB Notification: Performance of Templates: time 0.04329/1.369, allocations: 22.1 MB / 1.388 GB, free: 8.816 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 400] 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: 10.681932937935926]