Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001936/0.001936, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002112/0.002112, 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.588/1.588, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.059/3.059, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0.5469 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.699e-05/3.865e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2453/0.2454, allocations: 164.2 MB / 0.9711 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02987/0.2752, allocations: 17.78 MB / 0.9885 GB, free: 11.55 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.2769, allocations: 43.62 kB / 0.9886 GB, free: 11.5 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.2786, allocations: 0.5659 MB / 0.9891 GB, free: 10.93 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.006121/0.2848, allocations: 1.877 MB / 0.9909 GB, free: 9.047 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004122/0.2889, allocations: 1.473 MB / 0.9924 GB, free: 7.57 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.004714/0.2936, allocations: 2.983 MB / 0.9953 GB, free: 4.578 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.2966, allocations: 1.645 MB / 0.9969 GB, free: 2.879 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006418/0.303, allocations: 2.127 MB / 0.999 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.3049, allocations: 0.9232 MB / 0.9999 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.000491/0.3054, allocations: 228 kB / 1 GB, free: 15.74 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003667/0.3091, allocations: 1.477 MB / 1.002 GB, free: 14.26 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.3104, allocations: 0.8452 MB / 1.002 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.3119, allocations: 0.8378 MB / 1.003 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.006445/0.3183, allocations: 3.855 MB / 1.007 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3183, allocations: 0 / 1.007 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.422e-06/0.3183, allocations: 4 kB / 1.007 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.489e-05/0.3184, allocations: 0 / 1.007 GB, free: 8.703 MB / 0.9636 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.006222/0.3246, allocations: 3.054 MB / 1.01 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3247, allocations: 8.031 kB / 1.01 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004985/0.3297, allocations: 0.8673 MB / 1.011 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/0.3331, allocations: 1.391 MB / 1.012 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.3332, allocations: 135.4 kB / 1.012 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/0.3336, allocations: 188 kB / 1.012 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004267/0.3378, allocations: 2.566 MB / 1.015 GB, free: 144 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.3379, allocations: 0 / 1.015 GB, free: 144 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.3381, allocations: 79.94 kB / 1.015 GB, free: 64 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.282e-05/0.3381, allocations: 40 kB / 1.015 GB, free: 24 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00378/0.3419, allocations: 1.625 MB / 1.017 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.3535, allocations: 5.399 MB / 1.022 GB, free: 8.871 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/0.3568, allocations: 1.259 MB / 1.023 GB, free: 7.609 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.358, allocations: 0.5422 MB / 1.024 GB, free: 7.066 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005185/0.3585, allocations: 125.2 kB / 1.024 GB, free: 6.945 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00226/0.3608, allocations: 1.494 MB / 1.025 GB, free: 5.281 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=154): time 3.386e-06/0.3608, allocations: 0 / 1.025 GB, free: 5.281 MB / 0.9792 GB Notification: Performance of matching and sorting (n=154): time 0.006964/0.3677, allocations: 2.104 MB / 1.027 GB, free: 3.148 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/0.3679, allocations: 213.2 kB / 1.028 GB, free: 2.898 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.3705, allocations: 1.583 MB / 1.029 GB, free: 1.281 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.3707, allocations: 61.7 kB / 1.029 GB, free: 1.215 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.3719, allocations: 0.9883 MB / 1.03 GB, free: 216 kB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006586/0.3725, allocations: 0.5502 MB / 1.031 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005855/0.3731, allocations: 321.2 kB / 1.031 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003618/0.3735, allocations: 0.5707 MB / 1.031 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.3745, allocations: 423.8 kB / 1.032 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.3763, allocations: 1.134 MB / 1.033 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.3786, allocations: 1.035 MB / 1.034 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3786, allocations: 0 / 1.034 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004315/0.3829, allocations: 1.561 MB / 1.036 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.3829, allocations: 10.19 kB / 1.036 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3829, allocations: 3.984 kB / 1.036 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/0.3847, allocations: 306.2 kB / 1.036 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.3865, allocations: 351.5 kB / 1.036 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009626/0.3961, allocations: 9.326 MB / 1.045 GB, free: 15.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.3979, allocations: 139.2 kB / 1.045 GB, free: 15.63 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.3981, allocations: 59.95 kB / 1.045 GB, free: 15.57 MB / 1.01 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.00101/0.3991, allocations: 363.1 kB / 1.046 GB, free: 15.21 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005974/0.3997, allocations: 238.9 kB / 1.046 GB, free: 14.98 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/0.4045, allocations: 1.772 MB / 1.048 GB, free: 13.17 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.4045, allocations: 16 kB / 1.048 GB, free: 13.15 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4045, allocations: 4 kB / 1.048 GB, free: 13.15 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/0.4046, allocations: 7.969 kB / 1.048 GB, free: 13.14 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008588/0.4131, allocations: 3.63 MB / 1.051 GB, free: 9.43 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.4132, allocations: 4 kB / 1.051 GB, free: 9.426 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.4147, allocations: 315.5 kB / 1.052 GB, free: 9.117 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.4162, allocations: 294.2 kB / 1.052 GB, free: 8.809 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.4164, allocations: 43.95 kB / 1.052 GB, free: 8.766 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4674/0.8838, allocations: 9.335 MB / 1.061 GB, free: 284.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8838, allocations: 0 / 1.061 GB, free: 284.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/0.8876, allocations: 1.807 MB / 1.063 GB, free: 284 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009659/0.8886, allocations: 399 kB / 1.063 GB, free: 284 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/0.8888, allocations: 33.92 kB / 1.063 GB, free: 284 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.8899, allocations: 79 kB / 1.063 GB, free: 284 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.8902, allocations: 124 kB / 1.063 GB, free: 284 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.8903, allocations: 71.66 kB / 1.064 GB, free: 284 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001233/0.8916, allocations: 0.9655 MB / 1.064 GB, free: 283.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8916, allocations: 0 / 1.064 GB, free: 283.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001986/0.8935, allocations: 0.7173 MB / 1.065 GB, free: 283.8 MB / 1.01 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.003652/0.8972, allocations: 0.8169 MB / 1.066 GB, free: 283.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002923/0.9001, allocations: 2.069 MB / 1.068 GB, free: 282.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.9001, allocations: 4.156 kB / 1.068 GB, free: 282.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.9019, allocations: 1.552 MB / 1.07 GB, free: 281.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.9045, allocations: 0.5928 MB / 1.07 GB, free: 281.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005383/0.9099, allocations: 3.522 MB / 1.074 GB, free: 280.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007934/0.9107, allocations: 0.9381 MB / 1.074 GB, free: 280 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001473/0.9121, allocations: 462.4 kB / 1.075 GB, free: 279.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.9126, allocations: 175.4 kB / 1.075 GB, free: 279.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.463e-06/0.9126, allocations: 0 / 1.075 GB, free: 279.9 MB / 1.01 GB Notification: Performance of Templates: time 0.0589/0.9715, allocations: 32.58 MB / 1.107 GB, free: 273.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.75307239103131]