Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001308/0.001308, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.00144/0.00144, allocations: 192.1 kB / 22.11 MB, free: 5.156 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.441/1.441, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.21/3.21, allocations: 495.8 MB / 0.783 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 66.61 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3533, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2129/0.5662, allocations: 175.1 MB / 1.478 GB, free: 2.023 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02371/0.5899, allocations: 15.81 MB / 1.493 GB, free: 2.16 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.5919, allocations: 39.69 kB / 1.493 GB, free: 2.121 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.5941, allocations: 0.6479 MB / 1.494 GB, free: 1.469 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006372/0.6004, allocations: 1.614 MB / 1.495 GB, free: 15.85 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005734/0.6062, allocations: 1.728 MB / 1.497 GB, free: 14.13 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005122/0.6113, allocations: 2.925 MB / 1.5 GB, free: 11.19 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002877/0.6142, allocations: 1.478 MB / 1.501 GB, free: 9.656 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005417/0.6196, allocations: 1.666 MB / 1.503 GB, free: 8.02 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.6218, allocations: 1.07 MB / 1.504 GB, free: 6.945 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004502/0.6222, allocations: 196 kB / 1.504 GB, free: 6.754 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.6254, allocations: 1.213 MB / 1.505 GB, free: 5.539 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007335/0.6262, allocations: 0.5763 MB / 1.506 GB, free: 4.961 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.6277, allocations: 1.03 MB / 1.507 GB, free: 3.926 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005906/0.6336, allocations: 3.012 MB / 1.51 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.6336, allocations: 0 / 1.51 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6336, allocations: 0 / 1.51 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.703e-05/0.6337, allocations: 0 / 1.51 GB, free: 0.9023 MB / 1.201 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.005306/0.639, allocations: 2.286 MB / 1.512 GB, free: 14.57 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.639, allocations: 8.031 kB / 1.512 GB, free: 14.56 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/0.6423, allocations: 474.3 kB / 1.513 GB, free: 14.09 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.6448, allocations: 1.061 MB / 1.514 GB, free: 13 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.6449, allocations: 127.2 kB / 1.514 GB, free: 12.88 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/0.6452, allocations: 156 kB / 1.514 GB, free: 12.73 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/0.6487, allocations: 1.784 MB / 1.516 GB, free: 10.86 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.6487, allocations: 0 / 1.516 GB, free: 10.86 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.6489, allocations: 71.98 kB / 1.516 GB, free: 10.79 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/0.6489, allocations: 44 kB / 1.516 GB, free: 10.75 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003383/0.6523, allocations: 1.768 MB / 1.518 GB, free: 8.977 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.6626, allocations: 6.215 MB / 1.524 GB, free: 2.355 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.6656, allocations: 1.266 MB / 1.525 GB, free: 1.082 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.6666, allocations: 0.5113 MB / 1.525 GB, free: 0.5664 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000593/0.6672, allocations: 140.9 kB / 1.526 GB, free: 440 kB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/0.6688, allocations: 0.7996 MB / 1.526 GB, free: 15.61 MB / 1.232 GB Notification: Performance of pre-optimization done (n=126): time 3.026e-06/0.6688, allocations: 4 kB / 1.526 GB, free: 15.6 MB / 1.232 GB Notification: Performance of matching and sorting (n=126): time 0.005315/0.6741, allocations: 1.812 MB / 1.528 GB, free: 13.79 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.6742, allocations: 204.9 kB / 1.528 GB, free: 13.55 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.6758, allocations: 0.9872 MB / 1.529 GB, free: 12.54 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001574/0.676, allocations: 49.7 kB / 1.529 GB, free: 12.49 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000644/0.6766, allocations: 0.6657 MB / 1.53 GB, free: 11.81 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.677, allocations: 448.1 kB / 1.53 GB, free: 11.37 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004329/0.6775, allocations: 238.8 kB / 1.531 GB, free: 11.13 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.6776, allocations: 349.9 kB / 1.531 GB, free: 10.78 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009844/0.6786, allocations: 442.4 kB / 1.531 GB, free: 10.35 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.6798, allocations: 0.6059 MB / 1.532 GB, free: 9.707 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/0.6819, allocations: 1.035 MB / 1.533 GB, free: 8.648 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.682, allocations: 0 / 1.533 GB, free: 8.648 MB / 1.232 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003483/0.6854, allocations: 1.36 MB / 1.534 GB, free: 7.277 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.6855, allocations: 4 kB / 1.534 GB, free: 7.273 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.6855, allocations: 4 kB / 1.534 GB, free: 7.27 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/0.6861, allocations: 80.94 kB / 1.534 GB, free: 7.188 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.6875, allocations: 299.6 kB / 1.535 GB, free: 6.895 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.6898, allocations: 1.547 MB / 1.536 GB, free: 5.23 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.6912, allocations: 151.1 kB / 1.536 GB, free: 5.082 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.6914, allocations: 47.97 kB / 1.536 GB, free: 5.035 MB / 1.232 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.0008555/0.6922, allocations: 383.2 kB / 1.537 GB, free: 4.652 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/0.6926, allocations: 143.1 kB / 1.537 GB, free: 4.512 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.6963, allocations: 1.606 MB / 1.538 GB, free: 2.895 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.6963, allocations: 12 kB / 1.538 GB, free: 2.883 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6963, allocations: 7.938 kB / 1.538 GB, free: 2.875 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.6964, allocations: 7.969 kB / 1.538 GB, free: 2.867 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006129/0.7025, allocations: 3.131 MB / 1.541 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7025, allocations: 0 / 1.541 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.7038, allocations: 271.6 kB / 1.542 GB, free: 15.41 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.7042, allocations: 72.78 kB / 1.542 GB, free: 15.34 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.7043, allocations: 47.91 kB / 1.542 GB, free: 15.29 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.7065, allocations: 1.562 MB / 1.543 GB, free: 13.61 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7065, allocations: 0 / 1.543 GB, free: 13.61 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004784/0.7112, allocations: 2.194 MB / 1.546 GB, free: 11.39 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009678/0.7122, allocations: 318.7 kB / 1.546 GB, free: 11.08 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.7124, allocations: 27.94 kB / 1.546 GB, free: 11.05 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.7135, allocations: 87.91 kB / 1.546 GB, free: 10.97 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.7138, allocations: 97.19 kB / 1.546 GB, free: 10.88 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.7139, allocations: 63.95 kB / 1.546 GB, free: 10.81 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001061/0.715, allocations: 0.68 MB / 1.547 GB, free: 10.12 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.715, allocations: 0 / 1.547 GB, free: 10.12 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001695/0.7167, allocations: 0.5688 MB / 1.547 GB, free: 9.555 MB / 1.248 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.002406/0.7191, allocations: 0.6995 MB / 1.548 GB, free: 9.039 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003021/0.7221, allocations: 1.232 MB / 1.549 GB, free: 7.793 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.7221, allocations: 4.875 kB / 1.549 GB, free: 7.789 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.7236, allocations: 0.7204 MB / 1.55 GB, free: 7.059 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.7264, allocations: 0.5676 MB / 1.55 GB, free: 6.508 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/0.7325, allocations: 2.913 MB / 1.553 GB, free: 3.559 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.7336, allocations: 1.305 MB / 1.555 GB, free: 2.223 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001717/0.7353, allocations: 434.7 kB / 1.555 GB, free: 1.793 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004499/0.7358, allocations: 155.4 kB / 1.555 GB, free: 1.641 MB / 1.248 GB Notification: Performance of SimCode: time 1.293e-06/0.7358, allocations: 0 / 1.555 GB, free: 1.641 MB / 1.248 GB Notification: Performance of Templates: time 0.05291/0.7887, allocations: 28.02 MB / 1.583 GB, free: 5.977 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.538194373250008]