Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001986/0.001986, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002951/0.002951, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.877/2.877, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002148/0.002148, allocations: 61.41 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3798, allocations: 170 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2417/0.6215, allocations: 179.9 MB / 1.46 GB, free: 6.609 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03095/0.6525, allocations: 16.02 MB / 1.475 GB, free: 6.531 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.6549, allocations: 43.62 kB / 1.475 GB, free: 6.488 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.6576, allocations: 0.6324 MB / 1.476 GB, free: 5.852 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007416/0.665, allocations: 1.629 MB / 1.477 GB, free: 4.219 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006147/0.6711, allocations: 1.77 MB / 1.479 GB, free: 2.457 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005661/0.6768, allocations: 2.933 MB / 1.482 GB, free: 15.51 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003516/0.6803, allocations: 1.49 MB / 1.483 GB, free: 13.96 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004939/0.6853, allocations: 1.464 MB / 1.485 GB, free: 12.54 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.6875, allocations: 1.095 MB / 1.486 GB, free: 11.44 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005407/0.688, allocations: 200 kB / 1.486 GB, free: 11.24 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0037/0.6917, allocations: 1.427 MB / 1.488 GB, free: 9.812 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007711/0.6925, allocations: 0.5802 MB / 1.488 GB, free: 9.23 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.6941, allocations: 1.034 MB / 1.489 GB, free: 8.191 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005918/0.7, allocations: 3.078 MB / 1.492 GB, free: 5.102 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7, allocations: 0 / 1.492 GB, free: 5.102 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.514e-06/0.7, allocations: 4 kB / 1.492 GB, free: 5.098 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.948e-05/0.7001, allocations: 0 / 1.492 GB, free: 5.098 MB / 1.186 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.005506/0.7056, allocations: 2.321 MB / 1.494 GB, free: 2.727 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.7056, allocations: 8.031 kB / 1.494 GB, free: 2.719 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003891/0.7095, allocations: 0.5177 MB / 1.495 GB, free: 2.199 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.7121, allocations: 1.073 MB / 1.496 GB, free: 1.082 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.7122, allocations: 127.2 kB / 1.496 GB, free: 0.957 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/0.7125, allocations: 160 kB / 1.496 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003571/0.7161, allocations: 1.776 MB / 1.498 GB, free: 14.94 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.997e-05/0.7161, allocations: 7.875 kB / 1.498 GB, free: 14.93 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.7163, allocations: 75.89 kB / 1.498 GB, free: 14.86 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.008e-05/0.7164, allocations: 52 kB / 1.498 GB, free: 14.81 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003408/0.7198, allocations: 1.764 MB / 1.5 GB, free: 13.04 MB / 1.201 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.01045/0.7302, allocations: 6.099 MB / 1.506 GB, free: 6.578 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/0.733, allocations: 1.25 MB / 1.507 GB, free: 5.328 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.734, allocations: 0.5167 MB / 1.508 GB, free: 4.809 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006261/0.7347, allocations: 152.8 kB / 1.508 GB, free: 4.66 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001565/0.7362, allocations: 0.7856 MB / 1.508 GB, free: 3.855 MB / 1.201 GB Notification: Performance of pre-optimization done (n=126): time 2.876e-06/0.7362, allocations: 3.938 kB / 1.508 GB, free: 3.852 MB / 1.201 GB Notification: Performance of matching and sorting (n=126): time 0.005163/0.7414, allocations: 1.824 MB / 1.51 GB, free: 2.02 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.7416, allocations: 196.9 kB / 1.51 GB, free: 1.781 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.7432, allocations: 1.016 MB / 1.511 GB, free: 0.75 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.7433, allocations: 49.7 kB / 1.511 GB, free: 0.6953 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006647/0.744, allocations: 0.6736 MB / 1.512 GB, free: 12 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/0.7444, allocations: 444.4 kB / 1.513 GB, free: 15.57 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/0.7448, allocations: 234.8 kB / 1.513 GB, free: 15.33 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.745, allocations: 345.9 kB / 1.513 GB, free: 14.99 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009834/0.746, allocations: 454.4 kB / 1.513 GB, free: 14.55 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.7471, allocations: 0.6019 MB / 1.514 GB, free: 13.91 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/0.7492, allocations: 1.038 MB / 1.515 GB, free: 12.84 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.7492, allocations: 0 / 1.515 GB, free: 12.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00333/0.7525, allocations: 1.364 MB / 1.516 GB, free: 11.47 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.7526, allocations: 8 kB / 1.516 GB, free: 11.46 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.7526, allocations: 0 / 1.516 GB, free: 11.46 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006672/0.7533, allocations: 92.73 kB / 1.517 GB, free: 11.37 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.7547, allocations: 287.6 kB / 1.517 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.7571, allocations: 1.544 MB / 1.518 GB, free: 9.422 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.7585, allocations: 139.1 kB / 1.518 GB, free: 9.285 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.7587, allocations: 56.03 kB / 1.518 GB, free: 9.23 MB / 1.217 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.0008662/0.7595, allocations: 384 kB / 1.519 GB, free: 8.848 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003603/0.7599, allocations: 151.1 kB / 1.519 GB, free: 8.699 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003706/0.7636, allocations: 1.598 MB / 1.521 GB, free: 7.086 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.7636, allocations: 12 kB / 1.521 GB, free: 7.074 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.7636, allocations: 7.875 kB / 1.521 GB, free: 7.066 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.7636, allocations: 11.97 kB / 1.521 GB, free: 7.055 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006126/0.7698, allocations: 3.147 MB / 1.524 GB, free: 3.855 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.7698, allocations: 0 / 1.524 GB, free: 3.855 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.7711, allocations: 275.6 kB / 1.524 GB, free: 3.586 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/0.7715, allocations: 72.8 kB / 1.524 GB, free: 3.512 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.942e-05/0.7716, allocations: 35.97 kB / 1.524 GB, free: 3.477 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.7738, allocations: 1.574 MB / 1.526 GB, free: 1.785 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.7738, allocations: 8 kB / 1.526 GB, free: 1.777 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004664/0.7785, allocations: 2.183 MB / 1.528 GB, free: 15.57 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009318/0.7794, allocations: 322.6 kB / 1.528 GB, free: 15.25 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.7796, allocations: 35.92 kB / 1.528 GB, free: 15.21 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.7807, allocations: 83.98 kB / 1.528 GB, free: 15.13 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/0.781, allocations: 109 kB / 1.528 GB, free: 15.03 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.7811, allocations: 55.95 kB / 1.528 GB, free: 14.97 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001073/0.7822, allocations: 0.6962 MB / 1.529 GB, free: 14.27 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7822, allocations: 0 / 1.529 GB, free: 14.27 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001437/0.7836, allocations: 0.5611 MB / 1.53 GB, free: 13.71 MB / 1.232 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.002261/0.7859, allocations: 0.7069 MB / 1.53 GB, free: 13.18 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002878/0.7888, allocations: 1.244 MB / 1.531 GB, free: 11.92 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.7888, allocations: 448 / 1.531 GB, free: 11.92 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.7902, allocations: 0.701 MB / 1.532 GB, free: 11.21 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.7928, allocations: 0.5784 MB / 1.533 GB, free: 10.66 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/0.7987, allocations: 2.923 MB / 1.536 GB, free: 7.695 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.7998, allocations: 1.319 MB / 1.537 GB, free: 6.344 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001624/0.8014, allocations: 434.9 kB / 1.537 GB, free: 5.914 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.8019, allocations: 155.4 kB / 1.537 GB, free: 5.762 MB / 1.232 GB Notification: Performance of SimCode: time 1.072e-06/0.8019, allocations: 0 / 1.537 GB, free: 5.762 MB / 1.232 GB Notification: Performance of Templates: time 0.05259/0.8545, allocations: 28.19 MB / 1.565 GB, free: 9.93 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.671474403236061]