Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 106.5 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002253/0.002253, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 437.1 MB / 0.7178 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 177] 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_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 1.028 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3239, allocations: 151.6 MB / 1.176 GB, free: 6.008 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.9225/1.246, allocations: 176.2 MB / 1.348 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02561/1.272, allocations: 15.67 MB / 1.363 GB, free: 1.535 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/1.275, allocations: 36.25 kB / 1.363 GB, free: 1.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002692/1.277, allocations: 0.6062 MB / 1.364 GB, free: 1.156 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006768/1.284, allocations: 1.569 MB / 1.365 GB, free: 264 kB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00577/1.29, allocations: 1.687 MB / 1.367 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005977/1.296, allocations: 2.903 MB / 1.37 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004042/1.3, allocations: 1.848 MB / 1.372 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00529/1.305, allocations: 1.383 MB / 1.373 GB, free: 12.44 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/1.308, allocations: 1.047 MB / 1.374 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0008452/1.309, allocations: 201.9 kB / 1.374 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004151/1.313, allocations: 1.335 MB / 1.375 GB, free: 11.48 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001101/1.314, allocations: 0.5663 MB / 1.376 GB, free: 11.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00274/1.317, allocations: 1.036 MB / 1.377 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.007324/1.324, allocations: 3.03 MB / 1.38 GB, free: 8.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.324, allocations: 0 / 1.38 GB, free: 8.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.044e-06/1.324, allocations: 2.375 kB / 1.38 GB, free: 8.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001359/1.324, allocations: 0 / 1.38 GB, free: 8.23 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.006973/1.331, allocations: 2.362 MB / 1.382 GB, free: 6.457 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.331, allocations: 9.5 kB / 1.382 GB, free: 6.457 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003735/1.335, allocations: 473.1 kB / 1.383 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/1.338, allocations: 1.147 MB / 1.384 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/1.338, allocations: 120.9 kB / 1.384 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004469/1.339, allocations: 156.8 kB / 1.384 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004615/1.343, allocations: 1.787 MB / 1.386 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.032e-05/1.343, allocations: 0 / 1.386 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/1.344, allocations: 70.38 kB / 1.386 GB, free: 4.066 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.053e-05/1.344, allocations: 63.89 kB / 1.386 GB, free: 4.047 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003719/1.348, allocations: 1.763 MB / 1.388 GB, free: 3.203 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.01119/1.359, allocations: 6.159 MB / 1.394 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003112/1.362, allocations: 1.57 MB / 1.395 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/1.363, allocations: 0.5619 MB / 1.396 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/1.364, allocations: 0.8871 MB / 1.397 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001653/1.366, allocations: 0.7919 MB / 1.398 GB, free: 11.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=126): time 4.588e-06/1.366, allocations: 0 / 1.398 GB, free: 11.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=126): time 0.005135/1.371, allocations: 1.895 MB / 1.399 GB, free: 10.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/1.371, allocations: 201.1 kB / 1.4 GB, free: 10.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/1.373, allocations: 0.9862 MB / 1.401 GB, free: 9.523 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/1.373, allocations: 52.64 kB / 1.401 GB, free: 9.473 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006708/1.374, allocations: 0.6681 MB / 1.401 GB, free: 8.883 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004613/1.374, allocations: 442.4 kB / 1.402 GB, free: 8.496 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004293/1.375, allocations: 235.3 kB / 1.402 GB, free: 8.359 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.375, allocations: 347.7 kB / 1.402 GB, free: 8.023 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009778/1.376, allocations: 454.4 kB / 1.403 GB, free: 7.797 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/1.377, allocations: 0.5988 MB / 1.403 GB, free: 7.426 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/1.379, allocations: 1.029 MB / 1.404 GB, free: 6.859 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.379, allocations: 2.062 kB / 1.404 GB, free: 6.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003262/1.382, allocations: 1.36 MB / 1.406 GB, free: 6.168 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.382, allocations: 4.75 kB / 1.406 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.382, allocations: 2.094 kB / 1.406 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/1.383, allocations: 92.77 kB / 1.406 GB, free: 6.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/1.384, allocations: 286.6 kB / 1.406 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/1.387, allocations: 1.657 MB / 1.408 GB, free: 4.434 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.388, allocations: 136.5 kB / 1.408 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/1.389, allocations: 60.2 kB / 1.408 GB, free: 4.316 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (144): * Single equations (assignments): 143 * 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.000948/1.39, allocations: 375.7 kB / 1.408 GB, free: 4.043 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004965/1.39, allocations: 142.9 kB / 1.408 GB, free: 3.969 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/1.394, allocations: 1.615 MB / 1.41 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/1.394, allocations: 12.16 kB / 1.41 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.394, allocations: 3.312 kB / 1.41 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/1.394, allocations: 7.969 kB / 1.41 GB, free: 3.051 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006736/1.401, allocations: 3.158 MB / 1.413 GB, free: 224 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/1.401, allocations: 4 kB / 1.413 GB, free: 220 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/1.402, allocations: 263.7 kB / 1.413 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/1.403, allocations: 80.72 kB / 1.413 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/1.403, allocations: 35.97 kB / 1.413 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/1.405, allocations: 1.666 MB / 1.415 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.405, allocations: 3.984 kB / 1.415 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004937/1.41, allocations: 2.183 MB / 1.417 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009722/1.411, allocations: 403.8 kB / 1.417 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003825/1.411, allocations: 27.94 kB / 1.417 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/1.413, allocations: 92.09 kB / 1.418 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/1.413, allocations: 97.23 kB / 1.418 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/1.413, allocations: 63.95 kB / 1.418 GB, free: 11.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001316/1.415, allocations: 0.6839 MB / 1.418 GB, free: 10.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.6e-07/1.415, allocations: 0 / 1.418 GB, free: 10.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0019/1.416, allocations: 0.5494 MB / 1.419 GB, free: 9.883 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * 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.00252/1.419, allocations: 0.731 MB / 1.42 GB, free: 9.348 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003238/1.422, allocations: 1.275 MB / 1.421 GB, free: 8.059 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.422, allocations: 4.438 kB / 1.421 GB, free: 8.055 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.424, allocations: 0.7597 MB / 1.422 GB, free: 7.285 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/1.427, allocations: 0.565 MB / 1.422 GB, free: 6.738 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006606/1.434, allocations: 2.956 MB / 1.425 GB, free: 3.742 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/1.435, allocations: 1.303 MB / 1.426 GB, free: 2.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007478/1.436, allocations: 175.3 kB / 1.426 GB, free: 2.238 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.436, allocations: 0 / 1.426 GB, free: 2.238 MB / 1.076 GB Notification: Performance of Templates: time 0.04822/1.484, allocations: 32.02 MB / 1.458 GB, free: 2.371 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.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: 15.907526835915633]