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.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.001721/0.001721, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002193/0.002193, allocations: 161.7 kB / 22.75 MB, free: 1.656 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.518/1.518, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.243/3.243, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] 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.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 1.563e-06/1.563e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.037e-05, allocations: 3.078 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2146/0.2146, allocations: 148.3 MB / 1.022 GB, free: 1.641 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.02779/0.2424, allocations: 16.15 MB / 1.038 GB, free: 1.445 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.2441, allocations: 43.62 kB / 1.038 GB, free: 1.402 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002126/0.2462, allocations: 0.5659 MB / 1.039 GB, free: 0.832 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006112/0.2523, allocations: 1.881 MB / 1.041 GB, free: 14.94 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.2564, allocations: 1.469 MB / 1.042 GB, free: 13.47 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004554/0.261, allocations: 2.975 MB / 1.045 GB, free: 10.48 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002961/0.2639, allocations: 1.561 MB / 1.046 GB, free: 8.871 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006622/0.2705, allocations: 2.139 MB / 1.049 GB, free: 6.848 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.2726, allocations: 0.9347 MB / 1.049 GB, free: 5.91 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000634/0.2733, allocations: 232 kB / 1.05 GB, free: 5.684 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003637/0.2769, allocations: 1.481 MB / 1.051 GB, free: 4.199 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.2781, allocations: 0.8413 MB / 1.052 GB, free: 3.355 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.2799, allocations: 0.8417 MB / 1.053 GB, free: 2.512 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4956/0.7755, allocations: 3.857 MB / 1.057 GB, free: 53.43 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.7755, allocations: 0 / 1.057 GB, free: 53.43 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7755, allocations: 0 / 1.057 GB, free: 53.43 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.159e-05/0.7756, allocations: 0 / 1.057 GB, free: 53.43 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: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.004364/0.78, allocations: 2.783 MB / 1.059 GB, free: 52.21 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.78, allocations: 8.094 kB / 1.059 GB, free: 52.21 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004473/0.7845, allocations: 0.8933 MB / 1.06 GB, free: 51.96 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.787, allocations: 1.617 MB / 1.062 GB, free: 51.56 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.948e-05/0.7871, allocations: 133.4 kB / 1.062 GB, free: 51.56 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/0.7874, allocations: 194.5 kB / 1.062 GB, free: 51.56 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.7906, allocations: 2.73 MB / 1.065 GB, free: 50.44 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/0.7906, allocations: 0.875 kB / 1.065 GB, free: 50.44 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.7908, allocations: 76.84 kB / 1.065 GB, free: 50.44 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.7908, allocations: 43.16 kB / 1.065 GB, free: 50.44 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.7939, allocations: 2.071 MB / 1.067 GB, free: 50.43 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007991/0.8019, allocations: 4.492 MB / 1.071 GB, free: 49.52 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/0.8048, allocations: 1.788 MB / 1.073 GB, free: 49.48 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.8059, allocations: 0.7322 MB / 1.074 GB, free: 49.47 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004229/0.8064, allocations: 125.4 kB / 1.074 GB, free: 49.47 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0018/0.8082, allocations: 1.644 MB / 1.075 GB, free: 48.63 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 4.098e-06/0.8082, allocations: 1.094 kB / 1.075 GB, free: 48.63 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.006762/0.8149, allocations: 2.707 MB / 1.078 GB, free: 48.42 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.815, allocations: 210.4 kB / 1.078 GB, free: 48.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/0.8174, allocations: 1.717 MB / 1.08 GB, free: 48.02 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.8176, allocations: 65.48 kB / 1.08 GB, free: 47.98 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007334/0.8183, allocations: 0.8647 MB / 1.081 GB, free: 47.66 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004369/0.8188, allocations: 0.515 MB / 1.081 GB, free: 47.32 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004665/0.8192, allocations: 278 kB / 1.082 GB, free: 47.29 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.8193, allocations: 356 kB / 1.082 GB, free: 46.99 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.8204, allocations: 0.6332 MB / 1.083 GB, free: 46.98 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.8219, allocations: 1.283 MB / 1.084 GB, free: 46.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/0.8245, allocations: 1.405 MB / 1.085 GB, free: 46.23 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.8245, allocations: 0.7188 kB / 1.085 GB, free: 46.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004481/0.829, allocations: 1.976 MB / 1.087 GB, free: 46.01 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.829, allocations: 5.406 kB / 1.087 GB, free: 46.01 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.8291, allocations: 1.969 kB / 1.087 GB, free: 46.01 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.8306, allocations: 286.6 kB / 1.087 GB, free: 45.97 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.8323, allocations: 347.6 kB / 1.088 GB, free: 45.97 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/0.8372, allocations: 6.703 MB / 1.094 GB, free: 40.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.8389, allocations: 162.8 kB / 1.094 GB, free: 39.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/0.8391, allocations: 62.89 kB / 1.094 GB, free: 39.96 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.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 (166): * Single equations (assignments): 161 * 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.001136/0.8402, allocations: 0.4885 MB / 1.095 GB, free: 39.85 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007819/0.841, allocations: 230.5 kB / 1.095 GB, free: 39.75 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004766/0.8458, allocations: 2.171 MB / 1.097 GB, free: 39.59 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.8458, allocations: 23.28 kB / 1.097 GB, free: 39.58 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.8458, allocations: 3.125 kB / 1.097 GB, free: 39.58 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.8458, allocations: 8.953 kB / 1.097 GB, free: 39.58 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00815/0.854, allocations: 3.749 MB / 1.101 GB, free: 39.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.854, allocations: 1.312 kB / 1.101 GB, free: 39.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.8555, allocations: 323.6 kB / 1.101 GB, free: 39.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.8568, allocations: 272.7 kB / 1.102 GB, free: 39.07 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.857, allocations: 42.53 kB / 1.102 GB, free: 39.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00448/0.8614, allocations: 6.735 MB / 1.108 GB, free: 33.09 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8614, allocations: 1.5 kB / 1.108 GB, free: 33.09 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004719/0.8662, allocations: 2.108 MB / 1.11 GB, free: 32.75 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.8673, allocations: 404.5 kB / 1.111 GB, free: 32.63 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004937/0.8678, allocations: 32.84 kB / 1.111 GB, free: 32.63 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/0.8695, allocations: 107.4 kB / 1.111 GB, free: 32.63 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/0.8698, allocations: 123.5 kB / 1.111 GB, free: 32.63 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/0.87, allocations: 70.69 kB / 1.111 GB, free: 32.63 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002551/0.8726, allocations: 1.229 MB / 1.112 GB, free: 32.52 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.8726, allocations: 0 / 1.112 GB, free: 32.52 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003135/0.8757, allocations: 0.7263 MB / 1.113 GB, free: 32.4 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.00324/0.879, allocations: 0.81 MB / 1.114 GB, free: 32.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004562/0.8835, allocations: 2.125 MB / 1.116 GB, free: 31.59 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.8835, allocations: 2.688 kB / 1.116 GB, free: 31.59 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002234/0.8858, allocations: 1.387 MB / 1.117 GB, free: 31.03 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/0.889, allocations: 0.5753 MB / 1.118 GB, free: 30.96 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008052/0.8971, allocations: 3.913 MB / 1.121 GB, free: 29.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/0.8989, allocations: 0.9611 MB / 1.122 GB, free: 29.34 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002406/0.9013, allocations: 497.7 kB / 1.123 GB, free: 29.27 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007248/0.902, allocations: 176.5 kB / 1.123 GB, free: 29.26 MB / 1.01 GB Notification: Performance of SimCode: time 1.112e-06/0.902, allocations: 0.9062 kB / 1.123 GB, free: 29.26 MB / 1.01 GB Notification: Performance of Templates: time 0.0515/0.9535, allocations: 32.34 MB / 1.155 GB, free: 25.88 MB / 1.01 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.529497188981622]