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.001703/0.001703, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001428/0.001428, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.494/1.494, allocations: 225.6 MB / 249.4 MB, free: 3.125 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.649/2.649, allocations: 443.4 MB / 0.7304 GB, free: 13.86 MB / 0.5762 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.001965/0.001965, allocations: 71.88 kB / 1.059 GB, free: 348 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3445, allocations: 160.8 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.9302/1.275, allocations: 177 MB / 1.389 GB, free: 3.375 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02487/1.3, allocations: 15.91 MB / 1.404 GB, free: 6.703 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003031/1.303, allocations: 31.62 kB / 1.405 GB, free: 6.691 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002602/1.305, allocations: 0.6355 MB / 1.405 GB, free: 6.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006271/1.311, allocations: 1.61 MB / 1.407 GB, free: 4.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00557/1.317, allocations: 1.721 MB / 1.408 GB, free: 3.633 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005864/1.323, allocations: 2.905 MB / 1.411 GB, free: 1.902 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002834/1.326, allocations: 1.47 MB / 1.413 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005927/1.332, allocations: 1.425 MB / 1.414 GB, free: 32 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/1.335, allocations: 1.071 MB / 1.415 GB, free: 15.31 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0009235/1.336, allocations: 198.8 kB / 1.415 GB, free: 15.31 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005417/1.341, allocations: 1.379 MB / 1.417 GB, free: 14.65 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001466/1.343, allocations: 0.5768 MB / 1.417 GB, free: 14.21 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003188/1.346, allocations: 1.033 MB / 1.418 GB, free: 13.49 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00757/1.353, allocations: 3.036 MB / 1.421 GB, free: 11.38 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.353, allocations: 0 / 1.421 GB, free: 11.38 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.906e-06/1.353, allocations: 0 / 1.421 GB, free: 11.38 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.00013/1.353, allocations: 0 / 1.421 GB, free: 11.38 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.01082/1.364, allocations: 2.361 MB / 1.423 GB, free: 9.609 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 7.136e-05/1.364, allocations: 11.56 kB / 1.424 GB, free: 9.605 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/1.369, allocations: 481.4 kB / 1.424 GB, free: 9.379 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/1.372, allocations: 1.144 MB / 1.425 GB, free: 8.488 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/1.372, allocations: 116.7 kB / 1.425 GB, free: 8.438 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004659/1.372, allocations: 160.4 kB / 1.425 GB, free: 8.383 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004847/1.377, allocations: 1.783 MB / 1.427 GB, free: 7.262 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.609e-05/1.377, allocations: 2.781 kB / 1.427 GB, free: 7.262 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/1.377, allocations: 71.66 kB / 1.427 GB, free: 7.207 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.663e-05/1.378, allocations: 45.22 kB / 1.427 GB, free: 7.207 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003937/1.381, allocations: 1.773 MB / 1.429 GB, free: 5.613 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.01189/1.393, allocations: 6.163 MB / 1.435 GB, free: 15.09 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/1.396, allocations: 1.491 MB / 1.436 GB, free: 13.54 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/1.398, allocations: 0.5152 MB / 1.437 GB, free: 13.03 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/1.399, allocations: 0.8944 MB / 1.438 GB, free: 11.95 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/1.401, allocations: 0.7894 MB / 1.439 GB, free: 11.14 MB / 1.107 GB Notification: Performance of pre-optimization done (n=126): time 4.618e-06/1.401, allocations: 0 / 1.439 GB, free: 11.14 MB / 1.107 GB Notification: Performance of matching and sorting (n=126): time 0.005652/1.406, allocations: 1.895 MB / 1.44 GB, free: 9.215 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/1.406, allocations: 196.9 kB / 1.441 GB, free: 8.98 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/1.408, allocations: 0.9834 MB / 1.442 GB, free: 7.98 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/1.409, allocations: 53.7 kB / 1.442 GB, free: 7.922 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007817/1.409, allocations: 0.6657 MB / 1.442 GB, free: 7.246 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005002/1.41, allocations: 444.2 kB / 1.443 GB, free: 6.809 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000456/1.41, allocations: 234.8 kB / 1.443 GB, free: 6.574 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001825/1.411, allocations: 357.9 kB / 1.443 GB, free: 6.219 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.412, allocations: 442.4 kB / 1.444 GB, free: 5.785 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/1.413, allocations: 0.598 MB / 1.444 GB, free: 5.152 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/1.415, allocations: 1.038 MB / 1.445 GB, free: 4.09 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.415, allocations: 4 kB / 1.445 GB, free: 4.086 MB / 1.107 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003426/1.418, allocations: 1.356 MB / 1.447 GB, free: 2.719 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/1.418, allocations: 8 kB / 1.447 GB, free: 2.711 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.418, allocations: 0 / 1.447 GB, free: 2.711 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006677/1.419, allocations: 84.94 kB / 1.447 GB, free: 2.625 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.421, allocations: 291.6 kB / 1.447 GB, free: 2.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/1.423, allocations: 1.65 MB / 1.449 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/1.425, allocations: 143.2 kB / 1.449 GB, free: 416 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/1.425, allocations: 60.77 kB / 1.449 GB, free: 356 kB / 1.107 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.001088/1.426, allocations: 374.3 kB / 1.449 GB, free: 15.97 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/1.426, allocations: 147.1 kB / 1.449 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/1.43, allocations: 1.6 MB / 1.451 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/1.43, allocations: 16 kB / 1.451 GB, free: 14.2 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.43, allocations: 0 / 1.451 GB, free: 14.2 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.43, allocations: 3.984 kB / 1.451 GB, free: 14.2 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006917/1.437, allocations: 3.156 MB / 1.454 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.437, allocations: 3.938 kB / 1.454 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/1.439, allocations: 267.7 kB / 1.454 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004945/1.439, allocations: 80.72 kB / 1.454 GB, free: 10.63 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/1.439, allocations: 35.91 kB / 1.454 GB, free: 10.6 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/1.442, allocations: 1.681 MB / 1.456 GB, free: 8.77 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.442, allocations: 0 / 1.456 GB, free: 8.77 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005028/1.447, allocations: 2.187 MB / 1.458 GB, free: 6.559 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.448, allocations: 399.7 kB / 1.458 GB, free: 6.148 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004119/1.448, allocations: 31.94 kB / 1.458 GB, free: 6.117 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/1.45, allocations: 87.97 kB / 1.459 GB, free: 6.031 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/1.45, allocations: 93.19 kB / 1.459 GB, free: 5.941 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.45, allocations: 59.95 kB / 1.459 GB, free: 5.883 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001438/1.452, allocations: 0.68 MB / 1.459 GB, free: 5.195 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.452, allocations: 4 kB / 1.459 GB, free: 5.191 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002046/1.454, allocations: 0.5572 MB / 1.46 GB, free: 4.633 MB / 1.123 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.002563/1.456, allocations: 0.7147 MB / 1.461 GB, free: 4.094 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002993/1.459, allocations: 1.228 MB / 1.462 GB, free: 2.852 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.459, allocations: 4.438 kB / 1.462 GB, free: 2.848 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/1.461, allocations: 0.7167 MB / 1.463 GB, free: 2.121 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/1.464, allocations: 0.571 MB / 1.463 GB, free: 1.57 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006966/1.471, allocations: 2.912 MB / 1.466 GB, free: 14.62 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/1.472, allocations: 1.307 MB / 1.467 GB, free: 13.29 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002255/1.475, allocations: 434.8 kB / 1.468 GB, free: 12.86 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006347/1.475, allocations: 155.4 kB / 1.468 GB, free: 12.71 MB / 1.139 GB Notification: Performance of SimCode: time 1.593e-06/1.475, allocations: 0 / 1.468 GB, free: 12.71 MB / 1.139 GB Notification: Performance of Templates: time 0.05556/1.531, allocations: 27.67 MB / 1.495 GB, free: 1.41 MB / 1.154 GB " [Timeout remaining time 298] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.419888656586409]