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.007295/0.007295, allocations: 94.81 kB / 15.73 MB, free: 6.039 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.001799/0.001799, allocations: 203.4 kB / 16.68 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.549/2.549, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.91 kB / 1.019 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2894, allocations: 151.6 MB / 1.167 GB, free: 6.914 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.9211/1.211, allocations: 176.5 MB / 1.339 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01725/1.228, allocations: 10.91 MB / 1.35 GB, free: 5.082 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/1.23, allocations: 28.31 kB / 1.35 GB, free: 5.074 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/1.231, allocations: 415.9 kB / 1.35 GB, free: 4.805 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004017/1.236, allocations: 1.094 MB / 1.351 GB, free: 4.172 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004943/1.24, allocations: 1.716 MB / 1.353 GB, free: 3.273 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004178/1.245, allocations: 2.371 MB / 1.355 GB, free: 2.117 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/1.247, allocations: 1.403 MB / 1.357 GB, free: 1.441 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003928/1.251, allocations: 1.26 MB / 1.358 GB, free: 0.875 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/1.253, allocations: 0.8043 MB / 1.359 GB, free: 488 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005604/1.254, allocations: 158.6 kB / 1.359 GB, free: 484 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003812/1.258, allocations: 1.415 MB / 1.36 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007637/1.258, allocations: 450.3 kB / 1.36 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002063/1.26, allocations: 0.7853 MB / 1.361 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006839/1.267, allocations: 2.594 MB / 1.364 GB, free: 14.01 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.267, allocations: 0 / 1.364 GB, free: 14.01 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.903e-06/1.267, allocations: 0 / 1.364 GB, free: 14.01 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001031/1.268, allocations: 3.938 kB / 1.364 GB, free: 14 MB / 1.045 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.005614/1.273, allocations: 1.948 MB / 1.366 GB, free: 12.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.273, allocations: 9.219 kB / 1.366 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/1.276, allocations: 356.5 kB / 1.366 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/1.278, allocations: 0.9901 MB / 1.367 GB, free: 11.56 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.727e-05/1.278, allocations: 86.7 kB / 1.367 GB, free: 11.52 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/1.279, allocations: 112.6 kB / 1.367 GB, free: 11.49 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/1.281, allocations: 1.299 MB / 1.368 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/1.281, allocations: 0 / 1.368 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/1.282, allocations: 55.33 kB / 1.369 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/1.282, allocations: 29.03 kB / 1.369 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/1.284, allocations: 1.443 MB / 1.37 GB, free: 9.93 MB / 1.045 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.007649/1.292, allocations: 4.057 MB / 1.374 GB, free: 6.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/1.294, allocations: 1.205 MB / 1.375 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007912/1.295, allocations: 459.7 kB / 1.376 GB, free: 5.773 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007414/1.296, allocations: 422.7 kB / 1.376 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/1.297, allocations: 0.6664 MB / 1.377 GB, free: 4.926 MB / 1.045 GB Notification: Performance of pre-optimization done (n=106): time 4.458e-06/1.297, allocations: 0 / 1.377 GB, free: 4.926 MB / 1.045 GB Notification: Performance of matching and sorting (n=106): time 0.004226/1.302, allocations: 1.606 MB / 1.378 GB, free: 4.086 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.302, allocations: 197.5 kB / 1.378 GB, free: 3.863 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/1.303, allocations: 0.8775 MB / 1.379 GB, free: 3.359 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/1.303, allocations: 49.48 kB / 1.379 GB, free: 3.312 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/1.304, allocations: 0.5185 MB / 1.38 GB, free: 2.852 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/1.304, allocations: 374.1 kB / 1.38 GB, free: 2.527 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/1.304, allocations: 212.8 kB / 1.38 GB, free: 2.398 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.305, allocations: 344.5 kB / 1.381 GB, free: 2.066 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007944/1.305, allocations: 385.3 kB / 1.381 GB, free: 1.879 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009135/1.306, allocations: 0.5064 MB / 1.382 GB, free: 1.57 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/1.308, allocations: 0.8669 MB / 1.382 GB, free: 1.105 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.308, allocations: 5.125 kB / 1.382 GB, free: 1.102 MB / 1.045 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002713/1.311, allocations: 1.167 MB / 1.383 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.311, allocations: 7.219 kB / 1.384 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.311, allocations: 2.25 kB / 1.384 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/1.311, allocations: 86.2 kB / 1.384 GB, free: 480 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009821/1.312, allocations: 239.5 kB / 1.384 GB, free: 416 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/1.314, allocations: 1.659 MB / 1.385 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.316, allocations: 135.3 kB / 1.386 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/1.316, allocations: 46.64 kB / 1.386 GB, free: 14.67 MB / 1.061 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.0006607/1.316, allocations: 335.2 kB / 1.386 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/1.317, allocations: 124.8 kB / 1.386 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/1.32, allocations: 1.492 MB / 1.388 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/1.32, allocations: 12.66 kB / 1.388 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.32, allocations: 0 / 1.388 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/1.32, allocations: 7.969 kB / 1.388 GB, free: 13.48 MB / 1.061 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.005492/1.326, allocations: 2.838 MB / 1.39 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/1.326, allocations: 4 kB / 1.39 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008861/1.327, allocations: 200.5 kB / 1.39 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/1.327, allocations: 73.8 kB / 1.391 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/1.327, allocations: 40.41 kB / 1.391 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/1.329, allocations: 1.67 MB / 1.392 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.329, allocations: 3 kB / 1.392 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003843/1.333, allocations: 1.876 MB / 1.394 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007218/1.334, allocations: 343.9 kB / 1.394 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/1.334, allocations: 23.38 kB / 1.394 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.335, allocations: 78.08 kB / 1.394 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/1.336, allocations: 92.88 kB / 1.395 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/1.336, allocations: 46.38 kB / 1.395 GB, free: 8.328 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001102/1.337, allocations: 0.6214 MB / 1.395 GB, free: 7.969 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.7e-07/1.337, allocations: 2.75 kB / 1.395 GB, free: 7.969 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001489/1.338, allocations: 475.2 kB / 1.396 GB, free: 7.832 MB / 1.061 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.001986/1.34, allocations: 0.7189 MB / 1.396 GB, free: 7.477 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00247/1.343, allocations: 1.09 MB / 1.397 GB, free: 6.922 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.343, allocations: 13.89 kB / 1.397 GB, free: 6.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/1.344, allocations: 0.6593 MB / 1.398 GB, free: 6.547 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/1.347, allocations: 0.5249 MB / 1.399 GB, free: 6.105 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/1.352, allocations: 2.413 MB / 1.401 GB, free: 3.648 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009897/1.353, allocations: 1.162 MB / 1.402 GB, free: 2.453 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00155/1.354, allocations: 369.6 kB / 1.402 GB, free: 2.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/1.355, allocations: 139.4 kB / 1.403 GB, free: 1.953 MB / 1.061 GB Notification: Performance of SimCode: time 8.32e-07/1.355, allocations: 3.938 kB / 1.403 GB, free: 1.949 MB / 1.061 GB Notification: Performance of Templates: time 0.04426/1.399, allocations: 24.03 MB / 1.426 GB, free: 10.23 MB / 1.092 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