Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001242/0.001242, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001311/0.001311, allocations: 189.7 kB / 22.22 MB, free: 5.105 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.311/1.311, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.88/2.88, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 74.28 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3017, allocations: 174.9 MB / 1.316 GB, free: 9.668 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1817/0.4835, allocations: 169.2 MB / 1.481 GB, free: 15.84 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0222/0.5057, allocations: 17.65 MB / 1.498 GB, free: 14.14 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.5075, allocations: 43.62 kB / 1.498 GB, free: 14.1 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.5092, allocations: 0.5973 MB / 1.499 GB, free: 13.5 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00481/0.5141, allocations: 1.834 MB / 1.501 GB, free: 11.66 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.5174, allocations: 1.485 MB / 1.502 GB, free: 10.19 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003579/0.521, allocations: 2.878 MB / 1.505 GB, free: 7.301 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/0.5233, allocations: 1.582 MB / 1.507 GB, free: 5.66 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004024/0.5273, allocations: 1.5 MB / 1.508 GB, free: 4.199 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.5289, allocations: 1.136 MB / 1.509 GB, free: 3.059 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003228/0.5292, allocations: 224 kB / 1.509 GB, free: 2.84 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.5324, allocations: 1.634 MB / 1.511 GB, free: 1.203 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006848/0.5331, allocations: 0.7907 MB / 1.512 GB, free: 420 kB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.5343, allocations: 1.221 MB / 1.513 GB, free: 15.18 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004923/0.5393, allocations: 3.615 MB / 1.517 GB, free: 11.55 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5393, allocations: 4 kB / 1.517 GB, free: 11.55 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5393, allocations: 0 / 1.517 GB, free: 11.55 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.497e-05/0.5393, allocations: 0 / 1.517 GB, free: 11.55 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004711/0.544, allocations: 2.759 MB / 1.519 GB, free: 8.738 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.5441, allocations: 8.031 kB / 1.519 GB, free: 8.73 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003546/0.5476, allocations: 0.5721 MB / 1.52 GB, free: 8.156 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.5503, allocations: 1.556 MB / 1.521 GB, free: 6.562 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.5504, allocations: 131.4 kB / 1.521 GB, free: 6.434 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.5506, allocations: 168 kB / 1.522 GB, free: 6.27 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/0.5539, allocations: 1.944 MB / 1.524 GB, free: 4.273 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.5539, allocations: 4 kB / 1.524 GB, free: 4.27 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.554, allocations: 76 kB / 1.524 GB, free: 4.195 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.5541, allocations: 40 kB / 1.524 GB, free: 4.156 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/0.5575, allocations: 2.093 MB / 1.526 GB, free: 2.059 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008462/0.5659, allocations: 6.156 MB / 1.532 GB, free: 11.5 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/0.569, allocations: 1.706 MB / 1.533 GB, free: 9.797 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.5703, allocations: 0.7022 MB / 1.534 GB, free: 9.082 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000451/0.5707, allocations: 125.2 kB / 1.534 GB, free: 8.961 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001697/0.5724, allocations: 1.005 MB / 1.535 GB, free: 7.938 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 3.186e-06/0.5724, allocations: 0 / 1.535 GB, free: 7.938 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.00637/0.5788, allocations: 2.586 MB / 1.538 GB, free: 5.328 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.5789, allocations: 197.2 kB / 1.538 GB, free: 5.094 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/0.5812, allocations: 1.788 MB / 1.54 GB, free: 3.293 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.5813, allocations: 61.7 kB / 1.54 GB, free: 3.227 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007826/0.5821, allocations: 0.8441 MB / 1.54 GB, free: 2.371 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/0.5825, allocations: 0.4918 MB / 1.541 GB, free: 1.875 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/0.5829, allocations: 250.8 kB / 1.541 GB, free: 1.625 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5831, allocations: 365.9 kB / 1.542 GB, free: 1.262 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.5842, allocations: 0.5921 MB / 1.542 GB, free: 0.668 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.5854, allocations: 0.7975 MB / 1.543 GB, free: 15.82 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/0.5877, allocations: 1.325 MB / 1.544 GB, free: 14.48 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5877, allocations: 0 / 1.544 GB, free: 14.48 MB / 1.248 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003787/0.5915, allocations: 1.82 MB / 1.546 GB, free: 12.64 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.5915, allocations: 7.938 kB / 1.546 GB, free: 12.63 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5915, allocations: 0 / 1.546 GB, free: 12.63 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.5926, allocations: 228.1 kB / 1.546 GB, free: 12.39 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.5941, allocations: 331.6 kB / 1.547 GB, free: 12.07 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006066/0.6002, allocations: 6.809 MB / 1.553 GB, free: 4.688 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.6017, allocations: 159.2 kB / 1.553 GB, free: 4.531 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.6018, allocations: 55.95 kB / 1.553 GB, free: 4.477 MB / 1.248 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 (152): * Single equations (assignments): 147 * 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.0009827/0.6028, allocations: 487.8 kB / 1.554 GB, free: 3.992 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/0.6033, allocations: 186.8 kB / 1.554 GB, free: 3.809 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004487/0.6078, allocations: 2.125 MB / 1.556 GB, free: 1.652 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.6078, allocations: 16 kB / 1.556 GB, free: 1.637 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.6078, allocations: 0 / 1.556 GB, free: 1.637 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.6078, allocations: 7.969 kB / 1.556 GB, free: 1.629 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007302/0.6151, allocations: 3.941 MB / 1.56 GB, free: 13.62 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.6151, allocations: 3.984 kB / 1.56 GB, free: 13.61 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/0.6165, allocations: 315.5 kB / 1.56 GB, free: 13.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008503/0.6173, allocations: 212.1 kB / 1.56 GB, free: 13.08 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.6175, allocations: 47.89 kB / 1.561 GB, free: 13.04 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005887/0.6233, allocations: 6.834 MB / 1.567 GB, free: 5.613 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6233, allocations: 3.938 kB / 1.567 GB, free: 5.609 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004231/0.6276, allocations: 1.99 MB / 1.569 GB, free: 3.582 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.6286, allocations: 406.1 kB / 1.57 GB, free: 3.184 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003296/0.629, allocations: 31.98 kB / 1.57 GB, free: 3.152 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.6303, allocations: 103.8 kB / 1.57 GB, free: 3.055 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/0.6305, allocations: 125 kB / 1.57 GB, free: 2.934 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.6307, allocations: 67.95 kB / 1.57 GB, free: 2.867 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001844/0.6325, allocations: 1.277 MB / 1.571 GB, free: 1.594 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6325, allocations: 7.938 kB / 1.571 GB, free: 1.586 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001834/0.6344, allocations: 0.6937 MB / 1.572 GB, free: 0.8906 MB / 1.264 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002328/0.6367, allocations: 0.7526 MB / 1.573 GB, free: 324 kB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003587/0.6403, allocations: 2.024 MB / 1.574 GB, free: 14.23 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.6403, allocations: 8.594 kB / 1.574 GB, free: 14.22 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.6424, allocations: 1.364 MB / 1.576 GB, free: 12.79 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.6449, allocations: 0.542 MB / 1.576 GB, free: 12.27 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00668/0.6515, allocations: 3.771 MB / 1.58 GB, free: 8.469 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.6529, allocations: 1.525 MB / 1.582 GB, free: 6.91 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001773/0.6547, allocations: 0.4892 MB / 1.582 GB, free: 6.414 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005341/0.6552, allocations: 175.3 kB / 1.582 GB, free: 6.246 MB / 1.279 GB Notification: Performance of SimCode: time 7.21e-07/0.6552, allocations: 4 kB / 1.582 GB, free: 6.242 MB / 1.279 GB Notification: Performance of Templates: time 0.6037/1.259, allocations: 33.17 MB / 1.615 GB, free: 278.5 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.059775507077575]