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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 106 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002286/0.002286, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.305/3.305, allocations: 0.4899 GB / 0.7915 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 69.23 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4223, allocations: 176.1 MB / 1.321 GB, free: 2.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.239/0.6613, allocations: 179.7 MB / 1.497 GB, free: 14.57 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02371/0.685, allocations: 15.84 MB / 1.512 GB, free: 14.66 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.6868, allocations: 43.62 kB / 1.512 GB, free: 14.62 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.6887, allocations: 0.6323 MB / 1.513 GB, free: 13.98 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005235/0.6939, allocations: 1.627 MB / 1.514 GB, free: 12.36 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004962/0.6989, allocations: 1.706 MB / 1.516 GB, free: 10.66 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004762/0.7037, allocations: 2.925 MB / 1.519 GB, free: 7.719 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003003/0.7067, allocations: 1.52 MB / 1.52 GB, free: 6.137 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005273/0.7119, allocations: 1.667 MB / 1.522 GB, free: 4.504 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/0.714, allocations: 1.078 MB / 1.523 GB, free: 3.422 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0006364/0.7147, allocations: 207.9 kB / 1.523 GB, free: 3.219 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.7182, allocations: 1.408 MB / 1.525 GB, free: 1.809 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.7192, allocations: 0.5802 MB / 1.525 GB, free: 1.227 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002124/0.7214, allocations: 1.034 MB / 1.526 GB, free: 192 kB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006157/0.7275, allocations: 3.078 MB / 1.529 GB, free: 13.1 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7275, allocations: 0 / 1.529 GB, free: 13.1 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7275, allocations: 0 / 1.529 GB, free: 13.1 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001084/0.7276, allocations: 0 / 1.529 GB, free: 13.1 MB / 1.232 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.00646/0.7341, allocations: 2.388 MB / 1.532 GB, free: 10.64 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.7342, allocations: 15.98 kB / 1.532 GB, free: 10.62 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004364/0.7385, allocations: 0.5139 MB / 1.532 GB, free: 10.11 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003088/0.7416, allocations: 1.157 MB / 1.533 GB, free: 8.895 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.7418, allocations: 123.2 kB / 1.533 GB, free: 8.773 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004439/0.7422, allocations: 156 kB / 1.534 GB, free: 8.621 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004353/0.7466, allocations: 1.784 MB / 1.535 GB, free: 6.758 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/0.7466, allocations: 4 kB / 1.535 GB, free: 6.754 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/0.7468, allocations: 68 kB / 1.535 GB, free: 6.688 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-05/0.7469, allocations: 44 kB / 1.535 GB, free: 6.645 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003886/0.7508, allocations: 1.772 MB / 1.537 GB, free: 4.867 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.7618, allocations: 6.321 MB / 1.543 GB, free: 14.15 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.765, allocations: 1.489 MB / 1.545 GB, free: 12.6 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.7662, allocations: 0.5128 MB / 1.545 GB, free: 12.09 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.7673, allocations: 0.8867 MB / 1.546 GB, free: 11.02 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00178/0.7691, allocations: 0.7971 MB / 1.547 GB, free: 10.2 MB / 1.248 GB Notification: Performance of pre-optimization done (n=126): time 3.787e-06/0.7691, allocations: 0 / 1.547 GB, free: 10.2 MB / 1.248 GB Notification: Performance of matching and sorting (n=126): time 0.005704/0.7748, allocations: 1.899 MB / 1.549 GB, free: 8.273 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.7749, allocations: 196.9 kB / 1.549 GB, free: 8.035 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.7766, allocations: 1.016 MB / 1.55 GB, free: 7.004 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.7768, allocations: 53.7 kB / 1.55 GB, free: 6.945 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.7775, allocations: 0.6775 MB / 1.551 GB, free: 6.258 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004886/0.778, allocations: 440.2 kB / 1.551 GB, free: 5.824 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004032/0.7784, allocations: 230.8 kB / 1.551 GB, free: 5.594 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.7786, allocations: 349.9 kB / 1.552 GB, free: 5.246 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.7796, allocations: 454.4 kB / 1.552 GB, free: 4.801 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.7808, allocations: 0.5981 MB / 1.553 GB, free: 4.168 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/0.7829, allocations: 1.035 MB / 1.554 GB, free: 3.113 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7829, allocations: 0 / 1.554 GB, free: 3.113 MB / 1.248 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003491/0.7864, allocations: 1.352 MB / 1.555 GB, free: 1.75 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.7864, allocations: 12 kB / 1.555 GB, free: 1.738 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.7864, allocations: 0 / 1.555 GB, free: 1.738 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006443/0.7871, allocations: 88.77 kB / 1.555 GB, free: 1.648 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.7885, allocations: 299.5 kB / 1.555 GB, free: 1.355 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.791, allocations: 1.645 MB / 1.557 GB, free: 15.57 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.7925, allocations: 153 kB / 1.557 GB, free: 15.42 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.7926, allocations: 51.97 kB / 1.557 GB, free: 15.37 MB / 1.264 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.0008831/0.7935, allocations: 377.6 kB / 1.558 GB, free: 14.99 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003707/0.7938, allocations: 151.1 kB / 1.558 GB, free: 14.84 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003829/0.7977, allocations: 1.606 MB / 1.559 GB, free: 13.22 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.7977, allocations: 12 kB / 1.559 GB, free: 13.21 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7977, allocations: 0 / 1.559 GB, free: 13.21 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.7977, allocations: 15.91 kB / 1.559 GB, free: 13.19 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006212/0.8039, allocations: 3.183 MB / 1.562 GB, free: 9.945 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.8039, allocations: 4 kB / 1.562 GB, free: 9.941 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.8053, allocations: 271.5 kB / 1.563 GB, free: 9.676 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005038/0.8058, allocations: 76.78 kB / 1.563 GB, free: 9.598 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.8059, allocations: 39.97 kB / 1.563 GB, free: 9.559 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002772/0.8087, allocations: 1.662 MB / 1.564 GB, free: 7.754 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8087, allocations: 0 / 1.564 GB, free: 7.754 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005221/0.8139, allocations: 2.191 MB / 1.566 GB, free: 5.543 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.815, allocations: 407.7 kB / 1.567 GB, free: 5.125 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.8152, allocations: 31.94 kB / 1.567 GB, free: 5.094 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.8164, allocations: 93.58 kB / 1.567 GB, free: 5.004 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/0.8167, allocations: 89.19 kB / 1.567 GB, free: 4.918 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.8169, allocations: 63.95 kB / 1.567 GB, free: 4.855 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001424/0.8183, allocations: 0.7001 MB / 1.568 GB, free: 4.148 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.8183, allocations: 0 / 1.568 GB, free: 4.148 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002536/0.8208, allocations: 0.5571 MB / 1.568 GB, free: 3.59 MB / 1.264 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.002898/0.8237, allocations: 0.7025 MB / 1.569 GB, free: 3.055 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003202/0.8269, allocations: 1.228 MB / 1.57 GB, free: 1.812 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.8269, allocations: 448 / 1.57 GB, free: 1.812 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.8286, allocations: 0.7204 MB / 1.571 GB, free: 1.078 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/0.8315, allocations: 0.5609 MB / 1.572 GB, free: 0.5391 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005948/0.8374, allocations: 2.92 MB / 1.574 GB, free: 13.58 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.8385, allocations: 1.307 MB / 1.576 GB, free: 12.24 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001786/0.8403, allocations: 446.8 kB / 1.576 GB, free: 11.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/0.8408, allocations: 155.4 kB / 1.576 GB, free: 11.65 MB / 1.279 GB Notification: Performance of SimCode: time 1.583e-06/0.8408, allocations: 0 / 1.576 GB, free: 11.65 MB / 1.279 GB Notification: Performance of Templates: time 0.0561/0.8969, allocations: 27.53 MB / 1.603 GB, free: 476 kB / 1.295 GB " [Timeout remaining time 298] 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: 11.3591588428244]