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.001522/0.001522, allocations: 108.1 kB / 16.41 MB, free: 6.461 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.001638/0.001638, allocations: 187 kB / 17.34 MB, free: 5.719 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 14.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.56/2.56, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.89 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7791/0.7806, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1779/0.9586, allocations: 176.5 MB / 1.381 GB, free: 12.36 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01563/0.9742, allocations: 10.9 MB / 1.391 GB, free: 1.434 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.976, allocations: 31.81 kB / 1.391 GB, free: 1.402 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.9777, allocations: 412.7 kB / 1.392 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003957/0.9817, allocations: 1.095 MB / 1.393 GB, free: 15.89 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005048/0.9868, allocations: 1.719 MB / 1.395 GB, free: 14.18 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003711/0.9905, allocations: 2.381 MB / 1.397 GB, free: 11.8 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00243/0.993, allocations: 1.405 MB / 1.398 GB, free: 10.36 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003517/0.9965, allocations: 1.279 MB / 1.4 GB, free: 9.09 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.9979, allocations: 0.8052 MB / 1.4 GB, free: 8.281 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004434/0.9983, allocations: 156 kB / 1.4 GB, free: 8.129 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002995/1.001, allocations: 1.412 MB / 1.402 GB, free: 6.715 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005763/1.002, allocations: 454.5 kB / 1.402 GB, free: 6.27 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/1.003, allocations: 0.7814 MB / 1.403 GB, free: 5.484 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004562/1.008, allocations: 2.578 MB / 1.406 GB, free: 2.898 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/1.008, allocations: 0 / 1.406 GB, free: 2.898 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.324e-06/1.008, allocations: 0 / 1.406 GB, free: 2.898 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.585e-05/1.008, allocations: 7.938 kB / 1.406 GB, free: 2.891 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.004285/1.012, allocations: 1.884 MB / 1.407 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.012, allocations: 12.03 kB / 1.407 GB, free: 0.9375 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/1.015, allocations: 357.8 kB / 1.408 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/1.016, allocations: 0.9798 MB / 1.409 GB, free: 15.56 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.805e-05/1.017, allocations: 94.3 kB / 1.409 GB, free: 15.46 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/1.017, allocations: 116 kB / 1.409 GB, free: 15.35 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/1.019, allocations: 1.294 MB / 1.41 GB, free: 13.99 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/1.019, allocations: 0 / 1.41 GB, free: 13.99 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/1.02, allocations: 51.94 kB / 1.41 GB, free: 13.94 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/1.02, allocations: 28 kB / 1.41 GB, free: 13.91 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/1.022, allocations: 1.457 MB / 1.412 GB, free: 12.45 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.006705/1.029, allocations: 4.026 MB / 1.416 GB, free: 8.219 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/1.031, allocations: 1.219 MB / 1.417 GB, free: 6.977 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008374/1.032, allocations: 451.6 kB / 1.417 GB, free: 6.535 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007735/1.033, allocations: 433.3 kB / 1.418 GB, free: 6.039 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/1.034, allocations: 0.6527 MB / 1.418 GB, free: 5.363 MB / 1.139 GB Notification: Performance of pre-optimization done (n=106): time 3.276e-06/1.034, allocations: 0 / 1.418 GB, free: 5.363 MB / 1.139 GB Notification: Performance of matching and sorting (n=106): time 0.004199/1.038, allocations: 1.606 MB / 1.42 GB, free: 3.734 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.039, allocations: 196.9 kB / 1.42 GB, free: 3.496 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/1.04, allocations: 0.8785 MB / 1.421 GB, free: 2.594 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/1.04, allocations: 49.7 kB / 1.421 GB, free: 2.539 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/1.041, allocations: 0.5083 MB / 1.421 GB, free: 2.023 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/1.041, allocations: 354.9 kB / 1.422 GB, free: 1.672 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/1.041, allocations: 210.7 kB / 1.422 GB, free: 1.457 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.041, allocations: 361.8 kB / 1.422 GB, free: 1.098 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007646/1.042, allocations: 386.3 kB / 1.423 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008832/1.043, allocations: 0.5046 MB / 1.423 GB, free: 196 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/1.045, allocations: 0.872 MB / 1.424 GB, free: 15.3 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.045, allocations: 0 / 1.424 GB, free: 15.3 MB / 1.154 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002797/1.048, allocations: 1.165 MB / 1.425 GB, free: 14.12 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/1.048, allocations: 6.031 kB / 1.425 GB, free: 14.12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.048, allocations: 7.938 kB / 1.425 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/1.048, allocations: 80.88 kB / 1.425 GB, free: 14.03 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.049, allocations: 231.7 kB / 1.426 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/1.052, allocations: 1.638 MB / 1.427 GB, free: 12.02 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/1.053, allocations: 135 kB / 1.427 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/1.053, allocations: 47.97 kB / 1.427 GB, free: 11.84 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.0007104/1.054, allocations: 323.2 kB / 1.428 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004008/1.054, allocations: 126.4 kB / 1.428 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003491/1.058, allocations: 1.494 MB / 1.429 GB, free: 9.875 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/1.058, allocations: 12 kB / 1.429 GB, free: 9.863 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.058, allocations: 3.938 kB / 1.429 GB, free: 9.859 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.058, allocations: 3.984 kB / 1.429 GB, free: 9.855 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.005294/1.063, allocations: 2.839 MB / 1.432 GB, free: 6.91 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.063, allocations: 0 / 1.432 GB, free: 6.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009362/1.064, allocations: 203.9 kB / 1.432 GB, free: 6.711 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/1.064, allocations: 72.78 kB / 1.432 GB, free: 6.637 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.709e-05/1.065, allocations: 35.97 kB / 1.432 GB, free: 6.602 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/1.067, allocations: 1.678 MB / 1.434 GB, free: 4.777 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.067, allocations: 11.97 kB / 1.434 GB, free: 4.766 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/1.07, allocations: 1.866 MB / 1.436 GB, free: 2.863 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006344/1.071, allocations: 347.2 kB / 1.436 GB, free: 2.504 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/1.071, allocations: 31.98 kB / 1.436 GB, free: 2.473 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.072, allocations: 67.92 kB / 1.436 GB, free: 2.406 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/1.072, allocations: 84.83 kB / 1.436 GB, free: 2.32 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.073, allocations: 51.97 kB / 1.436 GB, free: 2.27 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009822/1.074, allocations: 0.6261 MB / 1.437 GB, free: 1.633 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.21e-07/1.074, allocations: 0 / 1.437 GB, free: 1.633 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001325/1.075, allocations: 467 kB / 1.437 GB, free: 1.176 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.001703/1.077, allocations: 0.7021 MB / 1.438 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002329/1.079, allocations: 1.101 MB / 1.439 GB, free: 15.54 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.079, allocations: 0 / 1.439 GB, free: 15.54 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/1.08, allocations: 0.6567 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.002579/1.083, allocations: 0.5219 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.004479/1.087, allocations: 2.433 MB / 1.443 GB, free: 11.89 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008294/1.088, allocations: 1.154 MB / 1.444 GB, free: 10.71 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/1.089, allocations: 159.4 kB / 1.444 GB, free: 10.56 MB / 1.17 GB Notification: Performance of SimCode: time 5.62e-07/1.089, allocations: 0 / 1.444 GB, free: 10.56 MB / 1.17 GB Notification: Performance of Templates: time 0.03775/1.126, allocations: 26.97 MB / 1.47 GB, free: 15.7 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