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.001855/0.001855, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002172/0.002172, allocations: 161.7 kB / 23.55 MB, free: 0.8672 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.5/1.5, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.911/2.911, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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.743e-06/1.743e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.25e-05, allocations: 3.406 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2157/0.2157, allocations: 148.3 MB / 0.9556 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02718/0.2429, allocations: 16.17 MB / 0.9714 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.2449, allocations: 43.62 kB / 0.9715 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.2469, allocations: 0.5698 MB / 0.972 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00579/0.2527, allocations: 1.881 MB / 0.9738 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004046/0.2567, allocations: 1.476 MB / 0.9753 GB, free: 9.133 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004319/0.261, allocations: 2.975 MB / 0.9782 GB, free: 6.148 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003264/0.2643, allocations: 1.645 MB / 0.9798 GB, free: 4.449 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006275/0.2706, allocations: 2.122 MB / 0.9819 GB, free: 2.465 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.2726, allocations: 0.9271 MB / 0.9828 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0007426/0.2733, allocations: 228 kB / 0.983 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004072/0.2774, allocations: 1.481 MB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.2787, allocations: 0.8412 MB / 0.9853 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.002295/0.281, allocations: 0.8378 MB / 0.9861 GB, free: 14.14 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.007467/0.2884, allocations: 3.843 MB / 0.9898 GB, free: 10.29 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.2884, allocations: 11.98 kB / 0.9898 GB, free: 10.28 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2884, allocations: 0 / 0.9898 GB, free: 10.28 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001513/0.2886, allocations: 0 / 0.9898 GB, free: 10.28 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.007138/0.2957, allocations: 2.783 MB / 0.9926 GB, free: 7.441 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2958, allocations: 12.03 kB / 0.9926 GB, free: 7.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005222/0.301, allocations: 0.8906 MB / 0.9934 GB, free: 6.535 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003647/0.3046, allocations: 1.619 MB / 0.995 GB, free: 4.875 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.3048, allocations: 139.4 kB / 0.9952 GB, free: 4.738 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004191/0.3052, allocations: 192 kB / 0.9953 GB, free: 4.551 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00545/0.3107, allocations: 2.725 MB / 0.998 GB, free: 1.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.3107, allocations: 0 / 0.998 GB, free: 1.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002221/0.3109, allocations: 75.94 kB / 0.9981 GB, free: 1.516 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/0.311, allocations: 44 kB / 0.9981 GB, free: 1.473 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004436/0.3154, allocations: 2.043 MB / 1 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.326, allocations: 4.482 MB / 1.004 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003782/0.3298, allocations: 1.737 MB / 1.006 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.3315, allocations: 0.719 MB / 1.007 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004866/0.332, allocations: 137.2 kB / 1.007 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002537/0.3345, allocations: 1.627 MB / 1.009 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 3.667e-06/0.3345, allocations: 0 / 1.009 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.007806/0.3423, allocations: 2.676 MB / 1.011 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/0.3425, allocations: 201.2 kB / 1.011 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/0.3456, allocations: 1.721 MB / 1.013 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002186/0.3458, allocations: 65.7 kB / 1.013 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.3471, allocations: 0.8594 MB / 1.014 GB, free: 0.875 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006665/0.3477, allocations: 0.5189 MB / 1.014 GB, free: 360 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005638/0.3483, allocations: 271.5 kB / 1.015 GB, free: 80 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002432/0.3485, allocations: 361.9 kB / 1.015 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.3499, allocations: 0.6129 MB / 1.016 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.3519, allocations: 1.277 MB / 1.017 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00295/0.3549, allocations: 1.376 MB / 1.018 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3549, allocations: 0 / 1.018 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005167/0.36, allocations: 1.953 MB / 1.02 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.3601, allocations: 8 kB / 1.02 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.3601, allocations: 4 kB / 1.02 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/0.3622, allocations: 296 kB / 1.02 GB, free: 9.996 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.3639, allocations: 335.5 kB / 1.021 GB, free: 9.668 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00841/0.3723, allocations: 6.69 MB / 1.027 GB, free: 2.461 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.3743, allocations: 159.4 kB / 1.027 GB, free: 2.305 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/0.3746, allocations: 67.95 kB / 1.028 GB, free: 2.238 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.001368/0.376, allocations: 492.1 kB / 1.028 GB, free: 1.75 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007951/0.3768, allocations: 230.9 kB / 1.028 GB, free: 1.523 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005466/0.3822, allocations: 2.168 MB / 1.03 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.3823, allocations: 16 kB / 1.03 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3823, allocations: 0 / 1.03 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.3823, allocations: 7.969 kB / 1.03 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008693/0.391, allocations: 3.746 MB / 1.034 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.391, allocations: 0 / 1.034 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/0.3927, allocations: 323.6 kB / 1.034 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.3942, allocations: 276 kB / 1.035 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.3943, allocations: 47.95 kB / 1.035 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007904/0.4022, allocations: 6.725 MB / 1.041 GB, free: 3.598 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4022, allocations: 0 / 1.041 GB, free: 3.598 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00492/0.4071, allocations: 2.089 MB / 1.043 GB, free: 1.473 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.4083, allocations: 406.2 kB / 1.044 GB, free: 1.074 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004693/0.4088, allocations: 35.94 kB / 1.044 GB, free: 1.039 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/0.4104, allocations: 101.6 kB / 1.044 GB, free: 0.9414 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/0.4107, allocations: 121.8 kB / 1.044 GB, free: 0.8203 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/0.411, allocations: 71.95 kB / 1.044 GB, free: 0.75 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002331/0.4133, allocations: 1.224 MB / 1.045 GB, free: 15.52 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.4133, allocations: 4 kB / 1.045 GB, free: 15.52 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002476/0.4158, allocations: 0.7171 MB / 1.046 GB, free: 14.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.003236/0.419, allocations: 0.8057 MB / 1.047 GB, free: 14.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004639/0.4237, allocations: 2.108 MB / 1.049 GB, free: 12.04 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.4237, allocations: 4.656 kB / 1.049 GB, free: 12.03 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.4263, allocations: 1.375 MB / 1.05 GB, free: 10.59 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/0.4293, allocations: 0.5854 MB / 1.051 GB, free: 10.02 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00811/0.4374, allocations: 3.859 MB / 1.054 GB, free: 6.117 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.4391, allocations: 0.9691 MB / 1.055 GB, free: 5.105 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002157/0.4413, allocations: 0.4926 MB / 1.056 GB, free: 4.605 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006947/0.442, allocations: 180.4 kB / 1.056 GB, free: 4.43 MB / 1.01 GB Notification: Performance of SimCode: time 1.723e-06/0.442, allocations: 0 / 1.056 GB, free: 4.43 MB / 1.01 GB Notification: Performance of Templates: time 0.3905/0.8324, allocations: 32.48 MB / 1.088 GB, free: 282.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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 400] 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.036621536011808]