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.002565/0.002565, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.003461/0.003461, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.538/1.538, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.926/2.926, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.148e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2528/0.2528, allocations: 172.3 MB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02671/0.2795, allocations: 16.07 MB / 0.9703 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.2814, allocations: 43.62 kB / 0.9704 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.2837, allocations: 0.6009 MB / 0.9709 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.006184/0.2899, allocations: 1.678 MB / 0.9726 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.005803/0.2957, allocations: 1.741 MB / 0.9743 GB, free: 11.76 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005208/0.3009, allocations: 3.033 MB / 0.9772 GB, free: 8.715 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003446/0.3043, allocations: 1.529 MB / 0.9787 GB, free: 7.129 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006198/0.3105, allocations: 2.033 MB / 0.9807 GB, free: 5.195 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.3124, allocations: 0.8841 MB / 0.9816 GB, free: 4.309 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0003991/0.3128, allocations: 204 kB / 0.9818 GB, free: 4.109 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.316, allocations: 1.239 MB / 0.983 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0007359/0.3167, allocations: 0.6152 MB / 0.9836 GB, free: 2.25 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.3179, allocations: 0.7248 MB / 0.9843 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.005762/0.3237, allocations: 3.244 MB / 0.9875 GB, free: 14.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.3237, allocations: 8 kB / 0.9875 GB, free: 14.26 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3237, allocations: 0 / 0.9875 GB, free: 14.26 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.216e-05/0.3237, allocations: 0 / 0.9875 GB, free: 14.26 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.005212/0.3289, allocations: 2.575 MB / 0.99 GB, free: 11.63 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.329, allocations: 8.031 kB / 0.99 GB, free: 11.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004021/0.333, allocations: 0.7158 MB / 0.9907 GB, free: 10.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.3355, allocations: 1.122 MB / 0.9918 GB, free: 9.734 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.3356, allocations: 131.2 kB / 0.9919 GB, free: 9.605 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000441/0.3361, allocations: 176 kB / 0.9921 GB, free: 9.434 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003967/0.34, allocations: 2.404 MB / 0.9944 GB, free: 6.773 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.3401, allocations: 4 kB / 0.9944 GB, free: 6.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.3402, allocations: 72 kB / 0.9945 GB, free: 6.699 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.799e-05/0.3403, allocations: 51.98 kB / 0.9946 GB, free: 6.648 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.3435, allocations: 1.526 MB / 0.9961 GB, free: 5.117 MB / 0.948 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.01114/0.3547, allocations: 5.982 MB / 1.002 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/0.3574, allocations: 1.186 MB / 1.003 GB, free: 13.78 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.3584, allocations: 487.2 kB / 1.004 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/0.3591, allocations: 145.2 kB / 1.004 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00208/0.3612, allocations: 1.286 MB / 1.005 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=134): time 3.216e-06/0.3612, allocations: 0 / 1.005 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=134): time 0.005316/0.3665, allocations: 1.68 MB / 1.007 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.3666, allocations: 205.2 kB / 1.007 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.3683, allocations: 1.046 MB / 1.008 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.3684, allocations: 61.7 kB / 1.008 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009015/0.3693, allocations: 0.7814 MB / 1.009 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005915/0.3699, allocations: 492 kB / 1.009 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005268/0.3705, allocations: 304.4 kB / 1.009 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003772/0.3708, allocations: 0.5667 MB / 1.01 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009191/0.3717, allocations: 386.4 kB / 1.01 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.3731, allocations: 0.8203 MB / 1.011 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/0.3752, allocations: 0.9765 MB / 1.012 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3752, allocations: 3.938 kB / 1.012 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003518/0.3787, allocations: 1.304 MB / 1.013 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3787, allocations: 4 kB / 1.013 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.3787, allocations: 4 kB / 1.013 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.3798, allocations: 143.7 kB / 1.013 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.3813, allocations: 307.6 kB / 1.014 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.3842, allocations: 2.046 MB / 1.016 GB, free: 260 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.3856, allocations: 115.3 kB / 1.016 GB, free: 144 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.3858, allocations: 55.91 kB / 1.016 GB, free: 88 kB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (157): * Single equations (assignments): 156 * 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.0009156/0.3867, allocations: 359.1 kB / 1.016 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004617/0.3871, allocations: 187.1 kB / 1.016 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/0.3909, allocations: 1.471 MB / 1.018 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.391, allocations: 16 kB / 1.018 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.391, allocations: 4 kB / 1.018 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/0.391, allocations: 11.91 kB / 1.018 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007192/0.3982, allocations: 3.08 MB / 1.021 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3982, allocations: 0 / 1.021 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.3995, allocations: 275.6 kB / 1.021 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008179/0.4003, allocations: 123.6 kB / 1.021 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.4005, allocations: 35.97 kB / 1.021 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/0.4032, allocations: 2.078 MB / 1.023 GB, free: 8.246 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4032, allocations: 0 / 1.023 GB, free: 8.246 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004723/0.4079, allocations: 2.045 MB / 1.025 GB, free: 6.18 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.4089, allocations: 306.7 kB / 1.026 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.4092, allocations: 32 kB / 1.026 GB, free: 5.848 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.4102, allocations: 72.36 kB / 1.026 GB, free: 5.781 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/0.4104, allocations: 101.2 kB / 1.026 GB, free: 5.68 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.4106, allocations: 63.95 kB / 1.026 GB, free: 5.617 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001077/0.4117, allocations: 0.6447 MB / 1.027 GB, free: 4.961 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4117, allocations: 4 kB / 1.027 GB, free: 4.957 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0019/0.4136, allocations: 0.5921 MB / 1.027 GB, free: 4.363 MB / 0.9792 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003801/0.4174, allocations: 0.7621 MB / 1.028 GB, free: 3.805 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003233/0.4206, allocations: 1.26 MB / 1.029 GB, free: 2.523 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.4206, allocations: 4.5 kB / 1.029 GB, free: 2.52 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.4223, allocations: 0.8041 MB / 1.03 GB, free: 1.695 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/0.4251, allocations: 0.5518 MB / 1.03 GB, free: 1.168 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005975/0.4311, allocations: 2.814 MB / 1.033 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009386/0.432, allocations: 0.7164 MB / 1.034 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001724/0.4337, allocations: 393.9 kB / 1.034 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/0.4342, allocations: 152.4 kB / 1.034 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of SimCode: time 1.503e-06/0.4342, allocations: 8 kB / 1.034 GB, free: 13 MB / 0.9948 GB Notification: Performance of Templates: time 0.4485/0.8827, allocations: 25.58 MB / 1.059 GB, free: 149.7 MB / 0.9948 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 240] 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: 9.963948094053194]