Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.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.002571/0.002571, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.003193/0.003193, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.62/1.62, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.877/2.877, 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_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.96e-06/4.96e-06, allocations: 4 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.066e-05/4.562e-05, allocations: 3.859 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2383/0.2383, allocations: 164.1 MB / 0.9467 GB, free: 8.133 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.03011/0.2684, allocations: 17.78 MB / 0.964 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.2713, allocations: 39.69 kB / 0.9641 GB, free: 6.266 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.274, allocations: 0.5698 MB / 0.9646 GB, free: 5.691 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.006739/0.2807, allocations: 1.884 MB / 0.9665 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.004453/0.2852, allocations: 1.476 MB / 0.9679 GB, free: 2.312 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.005389/0.2906, allocations: 2.975 MB / 0.9708 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003324/0.2939, allocations: 1.641 MB / 0.9724 GB, free: 13.63 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006482/0.3004, allocations: 2.128 MB / 0.9745 GB, free: 11.63 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.3024, allocations: 0.9386 MB / 0.9754 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0005296/0.3029, allocations: 232 kB / 0.9756 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.3068, allocations: 1.469 MB / 0.9771 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.3078, allocations: 0.8452 MB / 0.9779 GB, free: 8.141 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.3093, allocations: 0.8378 MB / 0.9787 GB, free: 7.301 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.006967/0.3163, allocations: 3.847 MB / 0.9825 GB, free: 3.441 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3163, allocations: 0 / 0.9825 GB, free: 3.441 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3163, allocations: 0 / 0.9825 GB, free: 3.441 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.741e-05/0.3164, allocations: 0 / 0.9825 GB, free: 3.441 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.00648/0.3228, allocations: 3.054 MB / 0.9854 GB, free: 332 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.3229, allocations: 12.03 kB / 0.9855 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004724/0.3276, allocations: 0.8752 MB / 0.9863 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/0.3309, allocations: 1.387 MB / 0.9877 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.3311, allocations: 135.4 kB / 0.9878 GB, free: 13.87 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/0.3314, allocations: 188 kB / 0.988 GB, free: 13.69 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004428/0.3358, allocations: 2.559 MB / 0.9905 GB, free: 10.88 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.3358, allocations: 0 / 0.9905 GB, free: 10.88 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/0.336, allocations: 79.75 kB / 0.9906 GB, free: 10.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.194e-05/0.3361, allocations: 40 kB / 0.9906 GB, free: 10.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003374/0.3394, allocations: 1.625 MB / 0.9922 GB, free: 9.137 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.01111/0.3505, allocations: 5.404 MB / 0.9975 GB, free: 3.609 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/0.3539, allocations: 1.259 MB / 0.9987 GB, free: 2.34 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.355, allocations: 0.5499 MB / 0.9992 GB, free: 1.789 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/0.3556, allocations: 129.2 kB / 0.9993 GB, free: 1.66 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002244/0.3578, allocations: 1.482 MB / 1.001 GB, free: 8 kB / 0.948 GB Notification: Performance of pre-optimization done (n=154): time 3.647e-06/0.3578, allocations: 0 / 1.001 GB, free: 8 kB / 0.948 GB Notification: Performance of matching and sorting (n=154): time 0.006814/0.3646, allocations: 2.108 MB / 1.003 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001841/0.3648, allocations: 213.2 kB / 1.003 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003074/0.3679, allocations: 1.583 MB / 1.005 GB, free: 12 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002871/0.3682, allocations: 61.7 kB / 1.005 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.3693, allocations: 0.9884 MB / 1.006 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000695/0.37, allocations: 0.554 MB / 1.006 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005738/0.3706, allocations: 325.2 kB / 1.006 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003673/0.3709, allocations: 0.5629 MB / 1.007 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.372, allocations: 427.8 kB / 1.007 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.3737, allocations: 1.134 MB / 1.009 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/0.3759, allocations: 1.031 MB / 1.01 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3759, allocations: 0 / 1.01 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004229/0.3802, allocations: 1.561 MB / 1.011 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.3802, allocations: 9.719 kB / 1.011 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.3802, allocations: 3.984 kB / 1.011 GB, free: 5.105 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/0.3822, allocations: 310.2 kB / 1.011 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.384, allocations: 351.5 kB / 1.012 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009502/0.3935, allocations: 9.313 MB / 1.021 GB, free: 10.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.3952, allocations: 138.6 kB / 1.021 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.3954, allocations: 63.95 kB / 1.021 GB, free: 10.32 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (165): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009758/0.3964, allocations: 367 kB / 1.021 GB, free: 9.949 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000582/0.397, allocations: 230.9 kB / 1.022 GB, free: 9.723 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004671/0.4016, allocations: 1.776 MB / 1.023 GB, free: 7.91 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/0.4017, allocations: 16 kB / 1.023 GB, free: 7.895 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4017, allocations: 0 / 1.023 GB, free: 7.895 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.4017, allocations: 7.969 kB / 1.023 GB, free: 7.887 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.4123, allocations: 3.638 MB / 1.027 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4123, allocations: 0 / 1.027 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.4138, allocations: 315.5 kB / 1.027 GB, free: 3.859 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.4153, allocations: 294.2 kB / 1.027 GB, free: 3.551 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.4154, allocations: 43.95 kB / 1.028 GB, free: 3.508 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00941/0.4248, allocations: 9.346 MB / 1.037 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4248, allocations: 0 / 1.037 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004831/0.4297, allocations: 1.809 MB / 1.038 GB, free: 7.68 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/0.431, allocations: 394.4 kB / 1.039 GB, free: 7.293 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.4313, allocations: 35.92 kB / 1.039 GB, free: 7.258 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.4325, allocations: 89.92 kB / 1.039 GB, free: 7.172 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/0.4328, allocations: 121.8 kB / 1.039 GB, free: 7.055 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/0.433, allocations: 71.95 kB / 1.039 GB, free: 6.984 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001997/0.435, allocations: 0.9622 MB / 1.04 GB, free: 6.023 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.435, allocations: 0 / 1.04 GB, free: 6.023 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002637/0.4376, allocations: 0.7209 MB / 1.041 GB, free: 5.301 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004079/0.4417, allocations: 0.819 MB / 1.042 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004271/0.446, allocations: 2.073 MB / 1.044 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.446, allocations: 0.6562 kB / 1.044 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002577/0.4486, allocations: 1.555 MB / 1.045 GB, free: 0.8789 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/0.4517, allocations: 0.593 MB / 1.046 GB, free: 312 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3328/0.7845, allocations: 3.502 MB / 1.049 GB, free: 294.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007561/0.7853, allocations: 0.9321 MB / 1.05 GB, free: 293.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001567/0.7868, allocations: 461.6 kB / 1.05 GB, free: 293.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/0.7873, allocations: 180.6 kB / 1.051 GB, free: 293.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.383e-06/0.7873, allocations: 4.969 kB / 1.051 GB, free: 293.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.05159/0.8389, allocations: 32.57 MB / 1.082 GB, free: 287.9 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.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.19964181096293]