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.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.001019/0.001019, allocations: 73.97 kB / 20.66 MB, free: 3.848 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.0009592/0.0009592, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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 0.9418/0.9418, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.034/2.034, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 3.086e-06/3.086e-06, allocations: 0 / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.056e-05/4.364e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1286/0.1286, allocations: 148.2 MB / 1.024 GB, free: 1.309 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.1435, allocations: 15.27 MB / 1.039 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.1448, allocations: 39.69 kB / 1.039 GB, free: 1.953 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009726/0.1458, allocations: 428.3 kB / 1.039 GB, free: 1.531 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.1486, allocations: 1.484 MB / 1.041 GB, free: 40 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.151, allocations: 1.449 MB / 1.042 GB, free: 14.59 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002834/0.1539, allocations: 2.932 MB / 1.045 GB, free: 11.64 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.1555, allocations: 1.569 MB / 1.047 GB, free: 10.02 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002803/0.1583, allocations: 2.082 MB / 1.049 GB, free: 8.055 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008385/0.1591, allocations: 0.8958 MB / 1.05 GB, free: 7.156 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.1594, allocations: 220 kB / 1.05 GB, free: 6.941 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.161, allocations: 1.1 MB / 1.051 GB, free: 5.84 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004606/0.1614, allocations: 0.8257 MB / 1.052 GB, free: 5.012 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005967/0.162, allocations: 0.8144 MB / 1.053 GB, free: 4.195 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.1644, allocations: 2.604 MB / 1.055 GB, free: 1.582 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1644, allocations: 4 kB / 1.055 GB, free: 1.578 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1644, allocations: 0 / 1.055 GB, free: 1.578 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.336e-05/0.1644, allocations: 3.984 kB / 1.055 GB, free: 1.574 MB / 1.01 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.4448/0.6092, allocations: 2.841 MB / 1.058 GB, free: 75.99 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.6093, allocations: 8.75 kB / 1.058 GB, free: 75.99 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/0.6117, allocations: 0.8668 MB / 1.059 GB, free: 75.83 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.6134, allocations: 1.308 MB / 1.06 GB, free: 75.52 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.033e-05/0.6135, allocations: 133.6 kB / 1.06 GB, free: 75.52 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.6136, allocations: 182.1 kB / 1.06 GB, free: 75.52 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.6151, allocations: 1.978 MB / 1.062 GB, free: 74.42 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.6151, allocations: 3.844 kB / 1.062 GB, free: 74.42 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.857e-05/0.6152, allocations: 76.48 kB / 1.062 GB, free: 74.42 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.6152, allocations: 43.41 kB / 1.062 GB, free: 74.42 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009885/0.6162, allocations: 1.01 MB / 1.063 GB, free: 74.38 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/0.6209, allocations: 3.877 MB / 1.067 GB, free: 73.31 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.6219, allocations: 0.7666 MB / 1.068 GB, free: 73.27 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.6222, allocations: 327 kB / 1.068 GB, free: 73.25 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.6224, allocations: 78.98 kB / 1.068 GB, free: 73.25 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008782/0.6233, allocations: 1.212 MB / 1.069 GB, free: 72.4 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 4.899e-06/0.6233, allocations: 0.9375 kB / 1.069 GB, free: 72.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.002755/0.626, allocations: 1.502 MB / 1.071 GB, free: 72.17 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.6261, allocations: 206.5 kB / 1.071 GB, free: 71.95 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009239/0.627, allocations: 1.222 MB / 1.072 GB, free: 71.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.6271, allocations: 63.08 kB / 1.072 GB, free: 71.67 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004904/0.6276, allocations: 0.9259 MB / 1.073 GB, free: 71.38 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/0.6279, allocations: 0.5246 MB / 1.074 GB, free: 71.05 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.6282, allocations: 285.6 kB / 1.074 GB, free: 71.02 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.6283, allocations: 0.53 MB / 1.075 GB, free: 70.54 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.6285, allocations: 196.9 kB / 1.075 GB, free: 70.54 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.629, allocations: 0.7447 MB / 1.075 GB, free: 69.95 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006998/0.6297, allocations: 0.5889 MB / 1.076 GB, free: 69.87 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.6297, allocations: 0 / 1.076 GB, free: 69.87 MB / 1.01 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001607/0.6313, allocations: 1.109 MB / 1.077 GB, free: 69.64 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.6313, allocations: 6.719 kB / 1.077 GB, free: 69.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6313, allocations: 3.031 kB / 1.077 GB, free: 69.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007482/0.6321, allocations: 274.4 kB / 1.077 GB, free: 69.58 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008134/0.6329, allocations: 334.3 kB / 1.078 GB, free: 69.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/0.6359, allocations: 8.833 MB / 1.086 GB, free: 61.04 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000911/0.6368, allocations: 132.8 kB / 1.086 GB, free: 60.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.6369, allocations: 50.41 kB / 1.086 GB, free: 60.98 MB / 1.01 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0005888/0.6375, allocations: 253.7 kB / 1.087 GB, free: 60.81 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.6378, allocations: 229.5 kB / 1.087 GB, free: 60.72 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.6395, allocations: 1.349 MB / 1.088 GB, free: 60.52 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.6395, allocations: 15.75 kB / 1.088 GB, free: 60.52 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6395, allocations: 0.75 kB / 1.088 GB, free: 60.52 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.6395, allocations: 12.66 kB / 1.088 GB, free: 60.52 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.6425, allocations: 2.529 MB / 1.091 GB, free: 60.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6425, allocations: 3.5 kB / 1.091 GB, free: 60.02 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006844/0.6432, allocations: 297.2 kB / 1.091 GB, free: 60.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006001/0.6438, allocations: 259.3 kB / 1.091 GB, free: 59.95 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.87e-05/0.6439, allocations: 40.45 kB / 1.091 GB, free: 59.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.6463, allocations: 8.864 MB / 1.1 GB, free: 51.39 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6463, allocations: 0.875 kB / 1.1 GB, free: 51.39 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.6482, allocations: 1.351 MB / 1.101 GB, free: 50.97 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005882/0.6488, allocations: 371 kB / 1.102 GB, free: 50.85 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.649, allocations: 36.48 kB / 1.102 GB, free: 50.85 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005348/0.6495, allocations: 71.22 kB / 1.102 GB, free: 50.85 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.6497, allocations: 124.5 kB / 1.102 GB, free: 50.85 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.6498, allocations: 60.56 kB / 1.102 GB, free: 50.85 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006805/0.6505, allocations: 0.7328 MB / 1.103 GB, free: 50.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6505, allocations: 2.328 kB / 1.103 GB, free: 50.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001563/0.6521, allocations: 0.7079 MB / 1.103 GB, free: 50.58 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 (156): * Single equations (assignments): 141 * 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.001497/0.6536, allocations: 0.7554 MB / 1.104 GB, free: 50.38 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.6552, allocations: 1.617 MB / 1.106 GB, free: 49.47 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6552, allocations: 3.859 kB / 1.106 GB, free: 49.47 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009134/0.6561, allocations: 1.322 MB / 1.107 GB, free: 48.59 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.6576, allocations: 0.5723 MB / 1.108 GB, free: 48.53 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/0.6623, allocations: 3.259 MB / 1.111 GB, free: 47.07 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.6627, allocations: 435.6 kB / 1.111 GB, free: 46.96 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001232/0.664, allocations: 357 kB / 1.111 GB, free: 46.88 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/0.6653, allocations: 0.6736 MB / 1.112 GB, free: 46.82 MB / 1.01 GB Notification: Performance of SimCode: time 2.013e-06/0.6653, allocations: 0 / 1.112 GB, free: 46.82 MB / 1.01 GB Notification: Performance of Templates: time 0.04967/0.715, allocations: 34.96 MB / 1.146 GB, free: 43.29 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.261711276602]