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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,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=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 108.2 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001902, allocations: 186.7 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.553/2.553, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8035/0.805, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1831/0.9881, allocations: 176.5 MB / 1.381 GB, free: 12.46 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01497/1.003, allocations: 10.91 MB / 1.391 GB, free: 1.512 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/1.004, allocations: 31.81 kB / 1.391 GB, free: 1.48 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/1.006, allocations: 412.7 kB / 1.392 GB, free: 1.074 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003578/1.01, allocations: 1.119 MB / 1.393 GB, free: 15.95 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004493/1.014, allocations: 1.735 MB / 1.395 GB, free: 14.23 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003113/1.017, allocations: 2.385 MB / 1.397 GB, free: 11.84 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/1.019, allocations: 1.413 MB / 1.398 GB, free: 10.38 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003454/1.023, allocations: 1.301 MB / 1.4 GB, free: 9.098 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/1.024, allocations: 0.8013 MB / 1.4 GB, free: 8.293 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004307/1.025, allocations: 156 kB / 1.401 GB, free: 8.141 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/1.028, allocations: 1.412 MB / 1.402 GB, free: 6.727 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006302/1.028, allocations: 454.6 kB / 1.402 GB, free: 6.281 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/1.03, allocations: 0.7814 MB / 1.403 GB, free: 5.496 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004405/1.034, allocations: 2.586 MB / 1.406 GB, free: 2.902 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.034, allocations: 0 / 1.406 GB, free: 2.902 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.503e-06/1.034, allocations: 0 / 1.406 GB, free: 2.902 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.975e-05/1.034, allocations: 0 / 1.406 GB, free: 2.902 MB / 1.123 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.003969/1.038, allocations: 1.888 MB / 1.408 GB, free: 0.957 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/1.038, allocations: 12.03 kB / 1.408 GB, free: 0.9453 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/1.041, allocations: 357.7 kB / 1.408 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/1.042, allocations: 0.9837 MB / 1.409 GB, free: 15.56 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.531e-05/1.042, allocations: 90.33 kB / 1.409 GB, free: 15.47 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/1.043, allocations: 116 kB / 1.409 GB, free: 15.36 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/1.045, allocations: 1.294 MB / 1.41 GB, free: 14 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/1.045, allocations: 0 / 1.41 GB, free: 14 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/1.045, allocations: 48 kB / 1.41 GB, free: 13.95 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/1.045, allocations: 28 kB / 1.41 GB, free: 13.93 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/1.048, allocations: 1.457 MB / 1.412 GB, free: 12.46 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.006355/1.054, allocations: 4.026 MB / 1.416 GB, free: 8.23 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/1.056, allocations: 1.222 MB / 1.417 GB, free: 6.984 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007978/1.057, allocations: 458.5 kB / 1.417 GB, free: 6.539 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007403/1.058, allocations: 417.3 kB / 1.418 GB, free: 6.059 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/1.059, allocations: 0.6644 MB / 1.418 GB, free: 5.371 MB / 1.139 GB Notification: Performance of pre-optimization done (n=106): time 2.966e-06/1.059, allocations: 0 / 1.418 GB, free: 5.371 MB / 1.139 GB Notification: Performance of matching and sorting (n=106): time 0.004202/1.063, allocations: 1.61 MB / 1.42 GB, free: 3.738 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/1.064, allocations: 188.9 kB / 1.42 GB, free: 3.508 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/1.065, allocations: 0.8824 MB / 1.421 GB, free: 2.602 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/1.065, allocations: 45.7 kB / 1.421 GB, free: 2.551 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000442/1.066, allocations: 0.5122 MB / 1.422 GB, free: 2.031 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/1.066, allocations: 350.9 kB / 1.422 GB, free: 1.684 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/1.066, allocations: 214.7 kB / 1.422 GB, free: 1.465 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.066, allocations: 345.9 kB / 1.422 GB, free: 1.121 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007688/1.067, allocations: 386.4 kB / 1.423 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008889/1.068, allocations: 0.5123 MB / 1.423 GB, free: 212 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/1.07, allocations: 0.868 MB / 1.424 GB, free: 15.32 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.07, allocations: 0 / 1.424 GB, free: 15.32 MB / 1.154 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002704/1.072, allocations: 1.169 MB / 1.425 GB, free: 14.14 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.072, allocations: 4 kB / 1.425 GB, free: 14.14 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.072, allocations: 4 kB / 1.425 GB, free: 14.13 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/1.073, allocations: 84.81 kB / 1.425 GB, free: 14.05 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.074, allocations: 231.7 kB / 1.426 GB, free: 13.82 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/1.076, allocations: 1.642 MB / 1.427 GB, free: 12.04 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/1.078, allocations: 127 kB / 1.427 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/1.078, allocations: 55.98 kB / 1.427 GB, free: 11.86 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.0007348/1.079, allocations: 324.8 kB / 1.428 GB, free: 11.53 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/1.079, allocations: 126.4 kB / 1.428 GB, free: 11.41 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00327/1.082, allocations: 1.501 MB / 1.429 GB, free: 9.883 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.082, allocations: 12 kB / 1.429 GB, free: 9.871 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.082, allocations: 4 kB / 1.429 GB, free: 9.867 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/1.082, allocations: 7.969 kB / 1.429 GB, free: 9.859 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.005148/1.087, allocations: 2.835 MB / 1.432 GB, free: 6.914 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.088, allocations: 4 kB / 1.432 GB, free: 6.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000932/1.088, allocations: 195.8 kB / 1.432 GB, free: 6.719 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/1.089, allocations: 80.91 kB / 1.432 GB, free: 6.637 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.622e-05/1.089, allocations: 35.97 kB / 1.432 GB, free: 6.602 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/1.091, allocations: 1.673 MB / 1.434 GB, free: 4.781 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.091, allocations: 4 kB / 1.434 GB, free: 4.777 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/1.095, allocations: 1.858 MB / 1.436 GB, free: 2.883 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006369/1.095, allocations: 339.4 kB / 1.436 GB, free: 2.531 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/1.096, allocations: 31.97 kB / 1.436 GB, free: 2.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.097, allocations: 82.53 kB / 1.436 GB, free: 2.422 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/1.097, allocations: 84.83 kB / 1.436 GB, free: 2.336 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.097, allocations: 47.97 kB / 1.436 GB, free: 2.289 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009664/1.098, allocations: 0.63 MB / 1.437 GB, free: 1.648 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/1.098, allocations: 0 / 1.437 GB, free: 1.648 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001305/1.099, allocations: 467 kB / 1.437 GB, free: 1.191 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.001735/1.101, allocations: 0.7076 MB / 1.438 GB, free: 0.6641 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002323/1.103, allocations: 1.097 MB / 1.439 GB, free: 15.55 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.103, allocations: 4 kB / 1.439 GB, free: 15.55 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/1.105, allocations: 0.6605 MB / 1.44 GB, free: 14.88 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/1.107, allocations: 0.5155 MB / 1.44 GB, free: 14.38 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/1.112, allocations: 2.427 MB / 1.443 GB, free: 11.91 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/1.113, allocations: 1.165 MB / 1.444 GB, free: 10.72 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/1.113, allocations: 155.4 kB / 1.444 GB, free: 10.57 MB / 1.17 GB Notification: Performance of SimCode: time 7.72e-07/1.113, allocations: 0 / 1.444 GB, free: 10.57 MB / 1.17 GB Notification: Performance of Templates: time 0.03799/1.151, allocations: 26.97 MB / 1.47 GB, free: 15.71 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) 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) Reference file matches