Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 201.1 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 72.12 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7202, allocations: 168.7 MB / 1.274 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1815/0.9017, allocations: 155.1 MB / 1.425 GB, free: 8.848 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.9181, allocations: 10.75 MB / 1.436 GB, free: 14.07 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.9192, allocations: 19.88 kB / 1.436 GB, free: 14.05 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.9203, allocations: 289.6 kB / 1.436 GB, free: 13.76 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003309/0.9236, allocations: 0.9881 MB / 1.437 GB, free: 12.77 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.9265, allocations: 1.12 MB / 1.438 GB, free: 11.66 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002323/0.9289, allocations: 1.717 MB / 1.44 GB, free: 9.938 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.9304, allocations: 0.9384 MB / 1.441 GB, free: 8.969 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.9324, allocations: 0.736 MB / 1.442 GB, free: 8.242 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008589/0.9333, allocations: 0.6364 MB / 1.442 GB, free: 7.605 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.9335, allocations: 132 kB / 1.442 GB, free: 7.477 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002031/0.9355, allocations: 1.045 MB / 1.443 GB, free: 6.43 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003742/0.9359, allocations: 386.8 kB / 1.444 GB, free: 6.051 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006596/0.9366, allocations: 0.6685 MB / 1.444 GB, free: 5.379 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002971/0.9395, allocations: 2.226 MB / 1.447 GB, free: 3.145 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.9395, allocations: 0 / 1.447 GB, free: 3.145 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.376e-05/0.9395, allocations: 0 / 1.447 GB, free: 3.145 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.741e-05/0.9396, allocations: 0 / 1.447 GB, free: 3.145 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003269/0.9428, allocations: 1.747 MB / 1.448 GB, free: 1.34 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.9429, allocations: 8.031 kB / 1.448 GB, free: 1.332 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.9446, allocations: 278.9 kB / 1.449 GB, free: 1.059 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.9461, allocations: 0.9142 MB / 1.449 GB, free: 104 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.9461, allocations: 74 kB / 1.45 GB, free: 28 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.9463, allocations: 92.05 kB / 1.45 GB, free: 15.93 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.9484, allocations: 1.113 MB / 1.451 GB, free: 14.79 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.9484, allocations: 0 / 1.451 GB, free: 14.79 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.9485, allocations: 44 kB / 1.451 GB, free: 14.74 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.9485, allocations: 24 kB / 1.451 GB, free: 14.72 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.951, allocations: 1.323 MB / 1.452 GB, free: 13.39 MB / 1.154 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.005882/0.9569, allocations: 3.419 MB / 1.455 GB, free: 9.812 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.9589, allocations: 1.051 MB / 1.456 GB, free: 8.742 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008255/0.9598, allocations: 388 kB / 1.457 GB, free: 8.363 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.96, allocations: 138 kB / 1.457 GB, free: 8.207 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/0.9612, allocations: 0.6254 MB / 1.458 GB, free: 7.562 MB / 1.154 GB Notification: Performance of pre-optimization done (n=95): time 2.465e-06/0.9612, allocations: 0 / 1.458 GB, free: 7.562 MB / 1.154 GB Notification: Performance of matching and sorting (n=95): time 0.004483/0.9657, allocations: 1.628 MB / 1.459 GB, free: 5.887 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.9658, allocations: 192.9 kB / 1.459 GB, free: 5.656 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.9669, allocations: 0.8096 MB / 1.46 GB, free: 4.836 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.309e-05/0.967, allocations: 41.7 kB / 1.46 GB, free: 4.789 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004292/0.9674, allocations: 473.2 kB / 1.461 GB, free: 4.32 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.9677, allocations: 329.2 kB / 1.461 GB, free: 3.996 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003436/0.968, allocations: 178.6 kB / 1.461 GB, free: 3.816 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.9682, allocations: 345.9 kB / 1.461 GB, free: 3.473 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008031/0.969, allocations: 353.8 kB / 1.462 GB, free: 3.125 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009751/0.97, allocations: 489.5 kB / 1.462 GB, free: 2.625 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.9717, allocations: 0.7843 MB / 1.463 GB, free: 1.832 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9717, allocations: 0 / 1.463 GB, free: 1.832 MB / 1.154 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002801/0.9745, allocations: 1.088 MB / 1.464 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.9745, allocations: 8.062 kB / 1.464 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.9745, allocations: 4 kB / 1.464 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008163/0.9753, allocations: 113.6 kB / 1.464 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009766/0.9763, allocations: 211.7 kB / 1.464 GB, free: 400 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003506/0.9798, allocations: 3.068 MB / 1.467 GB, free: 13.04 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.9809, allocations: 117.4 kB / 1.467 GB, free: 12.93 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.981, allocations: 39.97 kB / 1.468 GB, free: 12.89 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005897/0.9816, allocations: 311.4 kB / 1.468 GB, free: 12.57 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.9818, allocations: 107.3 kB / 1.468 GB, free: 12.46 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/0.985, allocations: 1.314 MB / 1.469 GB, free: 11.13 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.9851, allocations: 12 kB / 1.469 GB, free: 11.12 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9851, allocations: 0 / 1.469 GB, free: 11.12 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.9851, allocations: 7.969 kB / 1.469 GB, free: 11.11 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004655/0.9897, allocations: 2.412 MB / 1.472 GB, free: 8.641 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.9897, allocations: 0 / 1.472 GB, free: 8.641 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009095/0.9906, allocations: 187.8 kB / 1.472 GB, free: 8.457 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006356/0.9913, allocations: 105.6 kB / 1.472 GB, free: 8.348 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-05/0.9914, allocations: 39.91 kB / 1.472 GB, free: 8.309 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003439/0.9948, allocations: 3.096 MB / 1.475 GB, free: 4.926 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9948, allocations: 3.984 kB / 1.475 GB, free: 4.922 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.9979, allocations: 1.229 MB / 1.476 GB, free: 3.672 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006961/0.9986, allocations: 324 kB / 1.476 GB, free: 3.336 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.9987, allocations: 23.98 kB / 1.476 GB, free: 3.312 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009186/0.9997, allocations: 75.86 kB / 1.477 GB, free: 3.238 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.9999, allocations: 84.81 kB / 1.477 GB, free: 3.152 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1, allocations: 47.97 kB / 1.477 GB, free: 3.105 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008667/1.001, allocations: 0.5693 MB / 1.477 GB, free: 2.539 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.001, allocations: 0 / 1.477 GB, free: 2.539 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001287/1.002, allocations: 454.9 kB / 1.478 GB, free: 2.094 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.002337/1.004, allocations: 0.7341 MB / 1.478 GB, free: 1.555 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002686/1.007, allocations: 1.107 MB / 1.479 GB, free: 436 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.007, allocations: 4 kB / 1.479 GB, free: 432 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/1.009, allocations: 0.702 MB / 1.48 GB, free: 15.69 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/1.01, allocations: 359.5 kB / 1.48 GB, free: 15.36 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/1.014, allocations: 2.059 MB / 1.482 GB, free: 13.28 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008438/1.015, allocations: 1.099 MB / 1.484 GB, free: 12.14 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001045/1.016, allocations: 315.7 kB / 1.484 GB, free: 11.83 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/1.017, allocations: 119.4 kB / 1.484 GB, free: 11.71 MB / 1.186 GB Notification: Performance of SimCode: time 1.052e-06/1.017, allocations: 0 / 1.484 GB, free: 11.71 MB / 1.186 GB Notification: Performance of Templates: time 0.03932/1.056, allocations: 20.59 MB / 1.504 GB, free: 7.344 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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: 9.602133641019464]