Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.00146/0.00146, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001529/0.001529, allocations: 185.6 kB / 22.23 MB, free: 5.133 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.315/1.315, allocations: 225.6 MB / 251 MB, free: 13.03 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.881/2.881, allocations: 0.4893 GB / 0.7884 GB, free: 33.24 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.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 62.23 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3287, allocations: 174.9 MB / 1.316 GB, free: 9.707 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1815/0.5102, allocations: 169.2 MB / 1.481 GB, free: 15.84 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02199/0.5322, allocations: 17.67 MB / 1.499 GB, free: 14.12 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.5339, allocations: 47.56 kB / 1.499 GB, free: 14.07 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.5355, allocations: 0.5895 MB / 1.499 GB, free: 13.48 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005096/0.5406, allocations: 1.846 MB / 1.501 GB, free: 11.63 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.544, allocations: 1.486 MB / 1.502 GB, free: 10.16 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003559/0.5475, allocations: 2.891 MB / 1.505 GB, free: 7.254 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.5497, allocations: 1.598 MB / 1.507 GB, free: 5.594 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004143/0.5538, allocations: 1.512 MB / 1.508 GB, free: 4.125 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.5553, allocations: 1.152 MB / 1.509 GB, free: 2.969 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002766/0.5556, allocations: 224 kB / 1.51 GB, free: 2.75 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.5585, allocations: 1.63 MB / 1.511 GB, free: 1.117 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006628/0.5592, allocations: 0.7984 MB / 1.512 GB, free: 324 kB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.5603, allocations: 1.217 MB / 1.513 GB, free: 15.09 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004735/0.5651, allocations: 3.627 MB / 1.517 GB, free: 11.45 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5651, allocations: 0 / 1.517 GB, free: 11.45 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5651, allocations: 3.938 kB / 1.517 GB, free: 11.45 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.194e-05/0.5651, allocations: 0 / 1.517 GB, free: 11.45 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005261/0.5704, allocations: 2.777 MB / 1.519 GB, free: 8.625 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.5704, allocations: 12.03 kB / 1.519 GB, free: 8.613 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003706/0.5741, allocations: 0.5721 MB / 1.52 GB, free: 8.039 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/0.5771, allocations: 1.56 MB / 1.521 GB, free: 6.445 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.5773, allocations: 131.4 kB / 1.522 GB, free: 6.316 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.5775, allocations: 171.9 kB / 1.522 GB, free: 6.148 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/0.5813, allocations: 1.964 MB / 1.524 GB, free: 4.133 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.5814, allocations: 0 / 1.524 GB, free: 4.133 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.5815, allocations: 76 kB / 1.524 GB, free: 4.059 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.5816, allocations: 43.94 kB / 1.524 GB, free: 4.016 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003587/0.5852, allocations: 2.12 MB / 1.526 GB, free: 1.891 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009313/0.5945, allocations: 6.316 MB / 1.532 GB, free: 11.17 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.5975, allocations: 1.749 MB / 1.534 GB, free: 9.422 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.5987, allocations: 0.71 MB / 1.534 GB, free: 8.707 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000441/0.5991, allocations: 129.1 kB / 1.535 GB, free: 8.582 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001734/0.6009, allocations: 1.013 MB / 1.536 GB, free: 7.547 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 3.096e-06/0.6009, allocations: 0 / 1.536 GB, free: 7.547 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.006364/0.6072, allocations: 2.613 MB / 1.538 GB, free: 4.914 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.6074, allocations: 205.2 kB / 1.538 GB, free: 4.672 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.6098, allocations: 1.805 MB / 1.54 GB, free: 2.855 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/0.61, allocations: 61.7 kB / 1.54 GB, free: 2.789 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008998/0.6109, allocations: 0.852 MB / 1.541 GB, free: 1.926 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005108/0.6115, allocations: 0.4957 MB / 1.541 GB, free: 1.426 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/0.6119, allocations: 258.8 kB / 1.542 GB, free: 1.164 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.6121, allocations: 361.9 kB / 1.542 GB, free: 0.8047 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.6132, allocations: 0.6038 MB / 1.543 GB, free: 208 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.6146, allocations: 0.8144 MB / 1.543 GB, free: 15.34 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002487/0.6171, allocations: 1.357 MB / 1.545 GB, free: 13.97 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.6171, allocations: 0 / 1.545 GB, free: 13.97 MB / 1.248 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004029/0.6211, allocations: 1.847 MB / 1.547 GB, free: 12.1 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.6212, allocations: 7.938 kB / 1.547 GB, free: 12.09 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.6212, allocations: 0 / 1.547 GB, free: 12.09 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.6222, allocations: 212.1 kB / 1.547 GB, free: 11.87 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.6237, allocations: 351.5 kB / 1.547 GB, free: 11.53 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005956/0.6297, allocations: 6.802 MB / 1.554 GB, free: 4.148 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.6312, allocations: 176.7 kB / 1.554 GB, free: 3.977 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.6314, allocations: 55.95 kB / 1.554 GB, free: 3.922 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 (153): * Single equations (assignments): 148 * 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.0009108/0.6323, allocations: 493.2 kB / 1.554 GB, free: 3.43 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.6326, allocations: 194.8 kB / 1.555 GB, free: 3.238 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.6368, allocations: 2.129 MB / 1.557 GB, free: 1.078 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.6369, allocations: 16 kB / 1.557 GB, free: 1.062 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.6369, allocations: 8 kB / 1.557 GB, free: 1.055 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.6369, allocations: 7.969 kB / 1.557 GB, free: 1.047 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006622/0.6435, allocations: 3.969 MB / 1.561 GB, free: 13.01 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.6435, allocations: 7.938 kB / 1.561 GB, free: 13 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.645, allocations: 319.6 kB / 1.561 GB, free: 12.69 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008321/0.6458, allocations: 204 kB / 1.561 GB, free: 12.48 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.152e-05/0.6459, allocations: 39.97 kB / 1.561 GB, free: 12.44 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005818/0.6517, allocations: 6.854 MB / 1.568 GB, free: 4.996 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.6517, allocations: 3.938 kB / 1.568 GB, free: 4.992 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004198/0.6559, allocations: 2.017 MB / 1.57 GB, free: 2.938 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000903/0.6568, allocations: 402.2 kB / 1.57 GB, free: 2.543 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.657, allocations: 28 kB / 1.57 GB, free: 2.516 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.6581, allocations: 105.8 kB / 1.57 GB, free: 2.414 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.6584, allocations: 125 kB / 1.57 GB, free: 2.289 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.6585, allocations: 67.95 kB / 1.571 GB, free: 2.223 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00167/0.6602, allocations: 1.293 MB / 1.572 GB, free: 0.9336 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6602, allocations: 0 / 1.572 GB, free: 0.9336 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001764/0.662, allocations: 0.686 MB / 1.572 GB, free: 252 kB / 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.002201/0.6642, allocations: 0.7637 MB / 1.573 GB, free: 15.66 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003494/0.6676, allocations: 2.055 MB / 1.575 GB, free: 13.54 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6677, allocations: 0.6562 kB / 1.575 GB, free: 13.54 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002/0.6697, allocations: 1.375 MB / 1.577 GB, free: 12.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.6717, allocations: 0.546 MB / 1.577 GB, free: 11.57 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00647/0.6782, allocations: 3.896 MB / 1.581 GB, free: 7.648 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.6794, allocations: 1.529 MB / 1.582 GB, free: 6.082 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001588/0.6809, allocations: 0.497 MB / 1.583 GB, free: 5.578 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004645/0.6814, allocations: 179.3 kB / 1.583 GB, free: 5.402 MB / 1.279 GB Notification: Performance of SimCode: time 9.02e-07/0.6814, allocations: 0 / 1.583 GB, free: 5.402 MB / 1.279 GB Notification: Performance of Templates: time 0.6831/1.365, allocations: 33.44 MB / 1.616 GB, free: 279.2 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.135814874432981]