Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.002149/0.002149, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002696/0.002696, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.582 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.873/2.873, allocations: 377.8 MB / 0.6232 GB, free: 8.496 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_CpLowRise,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_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,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_CpLowRise") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.933e-05, allocations: 8.703 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.22/0.22, allocations: 148.2 MB / 0.9555 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0283/0.2483, allocations: 15.91 MB / 0.9711 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.2498, allocations: 43.62 kB / 0.9711 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.2517, allocations: 0.5503 MB / 0.9716 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.005549/0.2573, allocations: 1.713 MB / 0.9733 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003845/0.2611, allocations: 1.352 MB / 0.9746 GB, free: 9.781 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004207/0.2653, allocations: 2.812 MB / 0.9774 GB, free: 6.961 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.2682, allocations: 1.587 MB / 0.9789 GB, free: 5.32 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005559/0.2737, allocations: 2.027 MB / 0.9809 GB, free: 3.438 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.2753, allocations: 0.7984 MB / 0.9817 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0005544/0.2759, allocations: 212 kB / 0.9819 GB, free: 2.43 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.279, allocations: 1.313 MB / 0.9832 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0008504/0.2799, allocations: 0.5879 MB / 0.9837 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.2813, allocations: 0.7326 MB / 0.9845 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.006302/0.2876, allocations: 3.353 MB / 0.9877 GB, free: 12.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2876, allocations: 0 / 0.9877 GB, free: 12.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2876, allocations: 4 kB / 0.9877 GB, free: 12.42 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.403e-05/0.2877, allocations: 7.938 kB / 0.9877 GB, free: 12.41 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004778/0.2925, allocations: 2.302 MB / 0.99 GB, free: 10.06 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2925, allocations: 8.031 kB / 0.99 GB, free: 10.05 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005036/0.2975, allocations: 0.8441 MB / 0.9908 GB, free: 9.207 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.3, allocations: 1.108 MB / 0.9919 GB, free: 8.066 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.3001, allocations: 131.4 kB / 0.992 GB, free: 7.938 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/0.3005, allocations: 188 kB / 0.9922 GB, free: 7.754 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004862/0.3054, allocations: 2.617 MB / 0.9948 GB, free: 4.902 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.3054, allocations: 7.984 kB / 0.9948 GB, free: 4.895 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.3056, allocations: 75.94 kB / 0.9948 GB, free: 4.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/0.3057, allocations: 44 kB / 0.9949 GB, free: 4.777 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004122/0.3098, allocations: 1.832 MB / 0.9967 GB, free: 2.941 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009684/0.3195, allocations: 3.978 MB / 1.001 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003481/0.3229, allocations: 1.419 MB / 1.002 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.3244, allocations: 0.6058 MB / 1.003 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.3255, allocations: 185.1 kB / 1.003 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002503/0.328, allocations: 1.514 MB / 1.004 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 3.888e-06/0.328, allocations: 0 / 1.004 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.007495/0.3355, allocations: 2.282 MB / 1.006 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001777/0.3357, allocations: 201.2 kB / 1.007 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.3371, allocations: 0.763 MB / 1.007 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001933/0.3373, allocations: 65.69 kB / 1.007 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007734/0.338, allocations: 0.6695 MB / 1.008 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006398/0.3387, allocations: 0.519 MB / 1.009 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005894/0.3393, allocations: 275.5 kB / 1.009 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002466/0.3395, allocations: 357.9 kB / 1.009 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.3408, allocations: 0.5075 MB / 1.01 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.3425, allocations: 0.903 MB / 1.011 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.3452, allocations: 1.18 MB / 1.012 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.3452, allocations: 0 / 1.012 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004662/0.3499, allocations: 1.692 MB / 1.013 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3499, allocations: 11.98 kB / 1.013 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3499, allocations: 0 / 1.013 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.3514, allocations: 260.1 kB / 1.014 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.3531, allocations: 347.5 kB / 1.014 GB, free: 0.7773 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00777/0.3609, allocations: 6.67 MB / 1.02 GB, free: 9.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.3624, allocations: 151.4 kB / 1.021 GB, free: 9.441 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/0.3626, allocations: 67.89 kB / 1.021 GB, free: 9.375 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 (169): * Single equations (assignments): 164 * 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.0009751/0.3636, allocations: 388.3 kB / 1.021 GB, free: 8.988 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005491/0.3641, allocations: 179.2 kB / 1.021 GB, free: 8.812 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004924/0.369, allocations: 1.878 MB / 1.023 GB, free: 6.906 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.3691, allocations: 16 kB / 1.023 GB, free: 6.891 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.3691, allocations: 4 kB / 1.023 GB, free: 6.887 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.061e-05/0.3691, allocations: 11.97 kB / 1.023 GB, free: 6.875 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007569/0.3767, allocations: 3.235 MB / 1.026 GB, free: 3.574 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.3767, allocations: 4 kB / 1.026 GB, free: 3.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.3783, allocations: 327.5 kB / 1.027 GB, free: 3.25 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.3798, allocations: 256.1 kB / 1.027 GB, free: 2.984 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.3799, allocations: 39.97 kB / 1.027 GB, free: 2.945 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007279/0.3872, allocations: 6.681 MB / 1.033 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.3872, allocations: 0 / 1.033 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004691/0.3919, allocations: 1.81 MB / 1.035 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000843/0.3927, allocations: 342.4 kB / 1.035 GB, free: 9.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.3929, allocations: 32 kB / 1.035 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.3942, allocations: 107.6 kB / 1.036 GB, free: 9.438 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000292/0.3945, allocations: 125.7 kB / 1.036 GB, free: 9.312 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/0.3947, allocations: 67.95 kB / 1.036 GB, free: 9.246 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008935/0.3956, allocations: 0.5263 MB / 1.036 GB, free: 8.723 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.3956, allocations: 0 / 1.036 GB, free: 8.723 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001864/0.3975, allocations: 0.6507 MB / 1.037 GB, free: 8.07 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.002979/0.4004, allocations: 0.7838 MB / 1.038 GB, free: 7.488 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004102/0.4045, allocations: 1.884 MB / 1.04 GB, free: 5.547 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4045, allocations: 0.6562 kB / 1.04 GB, free: 5.547 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002593/0.4071, allocations: 1.274 MB / 1.041 GB, free: 4.211 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.4097, allocations: 0.5606 MB / 1.041 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006066/0.4157, allocations: 2.907 MB / 1.044 GB, free: 0.7188 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000998/0.4167, allocations: 0.7216 MB / 1.045 GB, free: 15.96 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001654/0.4184, allocations: 438 kB / 1.045 GB, free: 15.53 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/0.4189, allocations: 164.3 kB / 1.045 GB, free: 15.37 MB / 1.01 GB Notification: Performance of SimCode: time 9.52e-07/0.4189, allocations: 0 / 1.045 GB, free: 15.37 MB / 1.01 GB Notification: Performance of Templates: time 0.425/0.8439, allocations: 28.28 MB / 1.073 GB, free: 285.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.128096087020822]