Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.001865/0.001865, 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.001941/0.001941, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.558/1.558, allocations: 177.1 MB / 203.9 MB, free: 5.586 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 3.026/3.026, 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.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7863 GB, free: 11.73 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.986e-05, allocations: 2.312 kB / 0.7863 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.007497/0.007527, allocations: 4.353 MB / 0.7906 GB, free: 7.371 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.2047/0.2123, allocations: 146.2 MB / 0.9334 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007506/0.213, allocations: 27.81 kB / 0.9334 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005848/0.2136, allocations: 190.2 kB / 0.9336 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.2152, allocations: 0.5243 MB / 0.9341 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.2171, allocations: 0.7907 MB / 0.9349 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.2186, allocations: 1.323 MB / 0.9362 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006217/0.2193, allocations: 331.3 kB / 0.9365 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009249/0.2202, allocations: 0.6276 MB / 0.9371 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005643/0.2207, allocations: 358.9 kB / 0.9374 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.2209, allocations: 104 kB / 0.9375 GB, free: 400 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009628/0.2219, allocations: 411.5 kB / 0.9379 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.2222, allocations: 279 kB / 0.9382 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004157/0.2226, allocations: 327.1 kB / 0.9385 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.2247, allocations: 1.565 MB / 0.94 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2247, allocations: 4 kB / 0.94 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2247, allocations: 0 / 0.94 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.2247, allocations: 0 / 0.94 GB, free: 13.82 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.00252/0.2273, allocations: 1.448 MB / 0.9414 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2273, allocations: 12.03 kB / 0.9415 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008524/0.2282, allocations: 223.8 kB / 0.9417 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.2294, allocations: 0.6813 MB / 0.9423 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.734e-05/0.2295, allocations: 58.12 kB / 0.9424 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.2296, allocations: 83.92 kB / 0.9425 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.2312, allocations: 1.092 MB / 0.9435 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.2312, allocations: 3.938 kB / 0.9435 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.638e-05/0.2313, allocations: 28 kB / 0.9436 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.2313, allocations: 20 kB / 0.9436 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.2329, allocations: 0.8908 MB / 0.9445 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004757/0.2376, allocations: 3.095 MB / 0.9475 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.239, allocations: 0.6328 MB / 0.9481 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.2394, allocations: 233.3 kB / 0.9483 GB, free: 5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.398e-05/0.2395, allocations: 28.58 kB / 0.9483 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008242/0.2403, allocations: 0.499 MB / 0.9488 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=78): time 2.334e-06/0.2403, allocations: 112 / 0.9488 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of matching and sorting (n=78): time 0.001672/0.242, allocations: 0.798 MB / 0.9496 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.2421, allocations: 255.9 kB / 0.9499 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.2431, allocations: 0.7612 MB / 0.9506 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/0.2432, allocations: 49.69 kB / 0.9506 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.2436, allocations: 451.8 kB / 0.9511 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.2439, allocations: 282 kB / 0.9513 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000401/0.2443, allocations: 212.2 kB / 0.9516 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003946/0.2447, allocations: 0.6133 MB / 0.9522 GB, free: 0.9258 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.2451, allocations: 197.9 kB / 0.9523 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007191/0.2459, allocations: 0.5142 MB / 0.9528 GB, free: 156 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009473/0.2468, allocations: 0.5244 MB / 0.9534 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2468, allocations: 4 kB / 0.9534 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001383/0.2482, allocations: 0.7157 MB / 0.9541 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2482, allocations: 4 kB / 0.9541 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2482, allocations: 4 kB / 0.9541 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2482, allocations: 4 kB / 0.9541 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006608/0.2489, allocations: 167.8 kB / 0.9542 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.2489, allocations: 4.062 kB / 0.9542 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/0.2495, allocations: 82.34 kB / 0.9543 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/0.2495, allocations: 43.97 kB / 0.9544 GB, free: 14.58 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (101): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003859/0.2499, allocations: 275 kB / 0.9546 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.2501, allocations: 103.5 kB / 0.9547 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.2518, allocations: 0.8185 MB / 0.9555 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.2519, allocations: 8 kB / 0.9555 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2519, allocations: 3.938 kB / 0.9555 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.2519, allocations: 7.984 kB / 0.9555 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.2551, allocations: 1.87 MB / 0.9574 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2551, allocations: 4.031 kB / 0.9574 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.2556, allocations: 127.8 kB / 0.9575 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2556, allocations: 0 / 0.9575 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-05/0.2557, allocations: 19.98 kB / 0.9575 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2557, allocations: 4 kB / 0.9575 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2557, allocations: 4 kB / 0.9575 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.2571, allocations: 0.8933 MB / 0.9584 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004974/0.2576, allocations: 179.2 kB / 0.9586 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.2577, allocations: 27.94 kB / 0.9586 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.2582, allocations: 43.95 kB / 0.9586 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.2583, allocations: 72.81 kB / 0.9587 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/0.2584, allocations: 27.98 kB / 0.9587 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006544/0.259, allocations: 491 kB / 0.9592 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.259, allocations: 0 / 0.9592 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008479/0.2599, allocations: 291.3 kB / 0.9595 GB, free: 9.234 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (89): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003465/0.2634, allocations: 0.6598 MB / 0.9601 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.2646, allocations: 0.592 MB / 0.9607 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2646, allocations: 0 / 0.9607 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.2652, allocations: 343.2 kB / 0.961 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.2664, allocations: 297.3 kB / 0.9613 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.2692, allocations: 1.455 MB / 0.9627 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.2697, allocations: 393 kB / 0.9631 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006648/0.2703, allocations: 234.5 kB / 0.9633 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.2706, allocations: 108.5 kB / 0.9634 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/0.2706, allocations: 0 / 0.9634 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of Templates: time 0.0267/0.2973, allocations: 13.51 MB / 0.9766 GB, free: 8.066 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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: 8.674521000008099]