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.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.001622/0.001622, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001987/0.001987, allocations: 200.5 kB / 22.17 MB, free: 5.211 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.529/1.529, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.89 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9007/0.9027, allocations: 168.7 MB / 1.274 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2081/1.111, allocations: 177 MB / 1.447 GB, free: 2.777 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02562/1.136, allocations: 15.93 MB / 1.462 GB, free: 2.797 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002782/1.139, allocations: 27.88 kB / 1.462 GB, free: 2.77 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00251/1.142, allocations: 0.6362 MB / 1.463 GB, free: 2.129 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006478/1.148, allocations: 1.606 MB / 1.465 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007998/1.156, allocations: 1.708 MB / 1.466 GB, free: 14.82 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006214/1.162, allocations: 2.91 MB / 1.469 GB, free: 11.89 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003134/1.166, allocations: 1.477 MB / 1.471 GB, free: 10.36 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005086/1.171, allocations: 1.435 MB / 1.472 GB, free: 8.957 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/1.173, allocations: 1.077 MB / 1.473 GB, free: 7.875 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004539/1.173, allocations: 196 kB / 1.473 GB, free: 7.684 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/1.177, allocations: 1.372 MB / 1.475 GB, free: 6.309 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006541/1.177, allocations: 0.5763 MB / 1.475 GB, free: 5.73 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001472/1.179, allocations: 1.03 MB / 1.476 GB, free: 4.695 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005631/1.184, allocations: 3.036 MB / 1.479 GB, free: 1.648 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/1.184, allocations: 0 / 1.479 GB, free: 1.648 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.186e-06/1.184, allocations: 0 / 1.479 GB, free: 1.648 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.979e-05/1.184, allocations: 0 / 1.479 GB, free: 1.648 MB / 1.17 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.005198/1.19, allocations: 2.361 MB / 1.481 GB, free: 15.22 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.19, allocations: 8.031 kB / 1.481 GB, free: 15.21 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/1.193, allocations: 478.2 kB / 1.482 GB, free: 14.74 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00271/1.196, allocations: 1.149 MB / 1.483 GB, free: 13.55 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/1.196, allocations: 123.2 kB / 1.483 GB, free: 13.43 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/1.196, allocations: 156 kB / 1.483 GB, free: 13.27 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003801/1.2, allocations: 1.792 MB / 1.485 GB, free: 11.4 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.315e-05/1.2, allocations: 0 / 1.485 GB, free: 11.4 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/1.2, allocations: 68 kB / 1.485 GB, free: 11.34 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.46e-05/1.2, allocations: 47.94 kB / 1.485 GB, free: 11.29 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/1.204, allocations: 1.776 MB / 1.487 GB, free: 9.508 MB / 1.186 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.01133/1.215, allocations: 6.155 MB / 1.493 GB, free: 2.992 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/1.218, allocations: 1.479 MB / 1.494 GB, free: 1.453 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/1.219, allocations: 0.5191 MB / 1.495 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/1.221, allocations: 0.8828 MB / 1.496 GB, free: 15.87 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/1.222, allocations: 0.8011 MB / 1.496 GB, free: 15.05 MB / 1.201 GB Notification: Performance of pre-optimization done (n=126): time 2.976e-06/1.222, allocations: 0 / 1.496 GB, free: 15.05 MB / 1.201 GB Notification: Performance of matching and sorting (n=126): time 0.007543/1.23, allocations: 1.887 MB / 1.498 GB, free: 13.13 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/1.23, allocations: 204.8 kB / 1.499 GB, free: 12.89 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/1.232, allocations: 0.9834 MB / 1.499 GB, free: 11.89 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002731/1.232, allocations: 57.69 kB / 1.5 GB, free: 11.82 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000955/1.233, allocations: 0.6696 MB / 1.5 GB, free: 11.14 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/1.234, allocations: 440.2 kB / 1.501 GB, free: 10.71 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006165/1.235, allocations: 234.8 kB / 1.501 GB, free: 10.47 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000246/1.235, allocations: 345.9 kB / 1.501 GB, free: 10.13 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/1.237, allocations: 450.4 kB / 1.502 GB, free: 9.691 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/1.238, allocations: 0.5981 MB / 1.502 GB, free: 9.055 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/1.242, allocations: 1.038 MB / 1.503 GB, free: 7.992 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.242, allocations: 0 / 1.503 GB, free: 7.992 MB / 1.201 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004912/1.247, allocations: 1.356 MB / 1.505 GB, free: 6.625 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/1.247, allocations: 13.72 kB / 1.505 GB, free: 6.613 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.247, allocations: 0 / 1.505 GB, free: 6.613 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006713/1.247, allocations: 88.77 kB / 1.505 GB, free: 6.523 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/1.249, allocations: 287.6 kB / 1.505 GB, free: 6.242 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/1.252, allocations: 1.642 MB / 1.506 GB, free: 4.457 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.253, allocations: 149.2 kB / 1.507 GB, free: 4.312 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/1.253, allocations: 51.95 kB / 1.507 GB, free: 4.262 MB / 1.201 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.00109/1.254, allocations: 387.3 kB / 1.507 GB, free: 3.871 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000531/1.255, allocations: 143.1 kB / 1.507 GB, free: 3.73 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00434/1.259, allocations: 1.614 MB / 1.509 GB, free: 2.102 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/1.259, allocations: 16 kB / 1.509 GB, free: 2.086 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.259, allocations: 0 / 1.509 GB, free: 2.086 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/1.259, allocations: 7.969 kB / 1.509 GB, free: 2.078 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007202/1.267, allocations: 3.156 MB / 1.512 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.267, allocations: 0 / 1.512 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/1.268, allocations: 275.6 kB / 1.512 GB, free: 14.59 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/1.268, allocations: 76.73 kB / 1.512 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/1.269, allocations: 35.97 kB / 1.512 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/1.271, allocations: 1.681 MB / 1.514 GB, free: 12.65 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.271, allocations: 4.031 kB / 1.514 GB, free: 12.65 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005052/1.276, allocations: 2.183 MB / 1.516 GB, free: 10.44 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.277, allocations: 399.8 kB / 1.516 GB, free: 10.03 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003797/1.277, allocations: 31.94 kB / 1.516 GB, free: 10 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/1.279, allocations: 87.97 kB / 1.517 GB, free: 9.914 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/1.279, allocations: 89.19 kB / 1.517 GB, free: 9.828 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/1.279, allocations: 63.95 kB / 1.517 GB, free: 9.766 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001349/1.28, allocations: 0.68 MB / 1.517 GB, free: 9.078 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.28, allocations: 0 / 1.517 GB, free: 9.078 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00182/1.282, allocations: 0.5649 MB / 1.518 GB, free: 8.512 MB / 1.217 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.002572/1.285, allocations: 0.7152 MB / 1.519 GB, free: 7.988 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003385/1.288, allocations: 1.236 MB / 1.52 GB, free: 6.738 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.288, allocations: 448 / 1.52 GB, free: 6.738 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001737/1.29, allocations: 0.7167 MB / 1.52 GB, free: 6.012 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/1.293, allocations: 0.5673 MB / 1.521 GB, free: 5.465 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006633/1.3, allocations: 2.915 MB / 1.524 GB, free: 2.516 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/1.301, allocations: 1.303 MB / 1.525 GB, free: 1.184 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001815/1.303, allocations: 438.7 kB / 1.526 GB, free: 0.75 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/1.304, allocations: 155.4 kB / 1.526 GB, free: 0.5977 MB / 1.217 GB Notification: Performance of SimCode: time 9.11e-07/1.304, allocations: 0 / 1.526 GB, free: 0.5977 MB / 1.217 GB Notification: Performance of Templates: time 0.05416/1.358, allocations: 27.67 MB / 1.553 GB, free: 5.297 MB / 1.248 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.398420533165336]