Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_10_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_10_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.00842/0.00842, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002073/0.002073, allocations: 194.2 kB / 16.67 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 71.83 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8058/0.8072, allocations: 151.6 MB / 1.167 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1973/1.005, allocations: 176.6 MB / 1.339 GB, free: 2.762 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01486/1.019, allocations: 10.89 MB / 1.35 GB, free: 7.836 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/1.021, allocations: 31.81 kB / 1.35 GB, free: 7.805 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/1.022, allocations: 420.7 kB / 1.35 GB, free: 7.391 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003014/1.025, allocations: 1.123 MB / 1.351 GB, free: 6.266 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004147/1.029, allocations: 1.724 MB / 1.353 GB, free: 4.547 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002957/1.032, allocations: 2.388 MB / 1.355 GB, free: 2.148 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/1.034, allocations: 1.409 MB / 1.357 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/1.037, allocations: 1.299 MB / 1.358 GB, free: 15.42 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/1.038, allocations: 0.8052 MB / 1.359 GB, free: 14.61 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002361/1.038, allocations: 159.9 kB / 1.359 GB, free: 14.45 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/1.041, allocations: 1.415 MB / 1.36 GB, free: 13.04 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004255/1.042, allocations: 450.6 kB / 1.361 GB, free: 12.59 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008952/1.042, allocations: 0.7853 MB / 1.361 GB, free: 11.8 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003901/1.046, allocations: 2.596 MB / 1.364 GB, free: 9.199 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/1.046, allocations: 0 / 1.364 GB, free: 9.199 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.727e-06/1.046, allocations: 4 kB / 1.364 GB, free: 9.195 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.245e-05/1.047, allocations: 0 / 1.364 GB, free: 9.195 MB / 1.092 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.003541/1.05, allocations: 1.939 MB / 1.366 GB, free: 7.191 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/1.05, allocations: 12.92 kB / 1.366 GB, free: 7.18 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/1.052, allocations: 354.7 kB / 1.366 GB, free: 6.832 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/1.054, allocations: 0.9923 MB / 1.367 GB, free: 5.797 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/1.054, allocations: 90.31 kB / 1.367 GB, free: 5.707 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/1.054, allocations: 116 kB / 1.367 GB, free: 5.594 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/1.056, allocations: 1.298 MB / 1.369 GB, free: 4.23 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/1.056, allocations: 0 / 1.369 GB, free: 4.23 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/1.056, allocations: 48 kB / 1.369 GB, free: 4.184 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/1.057, allocations: 28 kB / 1.369 GB, free: 4.156 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/1.059, allocations: 1.457 MB / 1.37 GB, free: 2.691 MB / 1.092 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.005882/1.065, allocations: 4.043 MB / 1.374 GB, free: 14.44 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/1.067, allocations: 1.222 MB / 1.375 GB, free: 13.2 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007815/1.068, allocations: 452.6 kB / 1.376 GB, free: 12.76 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007214/1.069, allocations: 425.3 kB / 1.376 GB, free: 12.27 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/1.07, allocations: 0.6645 MB / 1.377 GB, free: 11.59 MB / 1.107 GB Notification: Performance of pre-optimization done (n=106): time 2.584e-06/1.07, allocations: 0 / 1.377 GB, free: 11.59 MB / 1.107 GB Notification: Performance of matching and sorting (n=106): time 0.003955/1.074, allocations: 1.61 MB / 1.378 GB, free: 9.953 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/1.074, allocations: 192.9 kB / 1.378 GB, free: 9.723 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/1.075, allocations: 0.8786 MB / 1.379 GB, free: 8.82 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.318e-05/1.075, allocations: 53.64 kB / 1.379 GB, free: 8.762 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/1.075, allocations: 0.5169 MB / 1.38 GB, free: 8.238 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/1.076, allocations: 372.8 kB / 1.38 GB, free: 7.871 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00033/1.076, allocations: 214.8 kB / 1.38 GB, free: 7.652 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.076, allocations: 345.9 kB / 1.381 GB, free: 7.309 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007563/1.077, allocations: 386.3 kB / 1.381 GB, free: 6.934 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008996/1.078, allocations: 0.5085 MB / 1.382 GB, free: 6.395 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/1.079, allocations: 0.8641 MB / 1.382 GB, free: 5.516 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.079, allocations: 0 / 1.382 GB, free: 5.516 MB / 1.107 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002566/1.082, allocations: 1.177 MB / 1.384 GB, free: 4.324 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.082, allocations: 12.16 kB / 1.384 GB, free: 4.312 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.082, allocations: 3.938 kB / 1.384 GB, free: 4.309 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/1.083, allocations: 80.78 kB / 1.384 GB, free: 4.227 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000969/1.084, allocations: 235.7 kB / 1.384 GB, free: 3.996 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/1.086, allocations: 1.652 MB / 1.386 GB, free: 2.199 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/1.087, allocations: 127.2 kB / 1.386 GB, free: 2.074 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/1.087, allocations: 47.97 kB / 1.386 GB, free: 2.027 MB / 1.107 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.000705/1.088, allocations: 335.3 kB / 1.386 GB, free: 1.691 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/1.088, allocations: 127.2 kB / 1.386 GB, free: 1.566 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/1.091, allocations: 1.486 MB / 1.388 GB, free: 60 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/1.091, allocations: 12.05 kB / 1.388 GB, free: 48 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.091, allocations: 11.92 kB / 1.388 GB, free: 36 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.091, allocations: 3.984 kB / 1.388 GB, free: 32 kB / 1.107 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.004729/1.096, allocations: 2.84 MB / 1.39 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.096, allocations: 4 kB / 1.39 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008466/1.097, allocations: 199.7 kB / 1.391 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004136/1.097, allocations: 76.88 kB / 1.391 GB, free: 12.81 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/1.097, allocations: 35.97 kB / 1.391 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/1.099, allocations: 1.67 MB / 1.392 GB, free: 10.96 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.099, allocations: 8.094 kB / 1.392 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/1.103, allocations: 1.87 MB / 1.394 GB, free: 9.047 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006589/1.103, allocations: 348 kB / 1.394 GB, free: 8.688 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/1.103, allocations: 27.98 kB / 1.395 GB, free: 8.66 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008124/1.104, allocations: 77.25 kB / 1.395 GB, free: 8.59 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/1.104, allocations: 92.83 kB / 1.395 GB, free: 8.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.061e-05/1.105, allocations: 43.97 kB / 1.395 GB, free: 8.457 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000858/1.105, allocations: 0.6261 MB / 1.395 GB, free: 7.82 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.01e-07/1.105, allocations: 0 / 1.395 GB, free: 7.82 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001252/1.107, allocations: 466.9 kB / 1.396 GB, free: 7.363 MB / 1.123 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.001571/1.108, allocations: 0.7139 MB / 1.396 GB, free: 6.801 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002218/1.111, allocations: 1.101 MB / 1.398 GB, free: 5.684 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.111, allocations: 3.859 kB / 1.398 GB, free: 5.68 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/1.112, allocations: 0.6645 MB / 1.398 GB, free: 5.004 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/1.114, allocations: 0.5265 MB / 1.399 GB, free: 4.5 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/1.118, allocations: 2.421 MB / 1.401 GB, free: 2.031 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/1.119, allocations: 1.162 MB / 1.402 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001212/1.12, allocations: 361.7 kB / 1.403 GB, free: 492 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/1.12, allocations: 135.4 kB / 1.403 GB, free: 356 kB / 1.123 GB Notification: Performance of SimCode: time 1.192e-06/1.12, allocations: 0 / 1.403 GB, free: 356 kB / 1.123 GB Notification: Performance of Templates: time 0.0402/1.161, allocations: 24.04 MB / 1.426 GB, free: 8.566 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches