Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001397/0.001397, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.00157/0.00157, allocations: 210.4 kB / 22.99 MB, free: 4.957 MB / 14.72 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.64/1.64, allocations: 230.6 MB / 256.8 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.311/3.311, allocations: 0.49 GB / 0.7959 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 63.41 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.381, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1929/0.5739, allocations: 148.4 MB / 1.472 GB, free: 12.04 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02399/0.5979, allocations: 16.22 MB / 1.488 GB, free: 11.77 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.5996, allocations: 39.62 kB / 1.488 GB, free: 11.73 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.6014, allocations: 0.5622 MB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006842/0.6082, allocations: 1.855 MB / 1.49 GB, free: 9.309 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.6122, allocations: 1.468 MB / 1.492 GB, free: 7.855 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003969/0.6161, allocations: 2.918 MB / 1.494 GB, free: 4.926 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/0.6188, allocations: 1.606 MB / 1.496 GB, free: 3.258 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.6234, allocations: 1.53 MB / 1.498 GB, free: 1.77 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.6252, allocations: 1.155 MB / 1.499 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003915/0.6256, allocations: 224 kB / 1.499 GB, free: 400 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.6287, allocations: 1.486 MB / 1.5 GB, free: 14.9 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007811/0.6295, allocations: 0.8139 MB / 1.501 GB, free: 14.09 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.6307, allocations: 1.003 MB / 1.502 GB, free: 13.08 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005396/0.636, allocations: 3.677 MB / 1.506 GB, free: 9.387 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6361, allocations: 4 kB / 1.506 GB, free: 9.383 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6361, allocations: 0 / 1.506 GB, free: 9.383 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.704e-05/0.6361, allocations: 0 / 1.506 GB, free: 9.383 MB / 1.201 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.005354/0.6415, allocations: 2.798 MB / 1.508 GB, free: 6.539 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.6415, allocations: 12.03 kB / 1.508 GB, free: 6.527 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004746/0.6462, allocations: 0.6189 MB / 1.509 GB, free: 5.906 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/0.6492, allocations: 1.58 MB / 1.511 GB, free: 4.293 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.6494, allocations: 135.4 kB / 1.511 GB, free: 4.16 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.6496, allocations: 164 kB / 1.511 GB, free: 4 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0042/0.6538, allocations: 2.721 MB / 1.514 GB, free: 1.043 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.6538, allocations: 0 / 1.514 GB, free: 1.043 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.654, allocations: 76 kB / 1.514 GB, free: 0.9688 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.6541, allocations: 40 kB / 1.514 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003801/0.6579, allocations: 2.066 MB / 1.516 GB, free: 14.86 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009345/0.6672, allocations: 4.375 MB / 1.52 GB, free: 10.41 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003364/0.6706, allocations: 1.739 MB / 1.522 GB, free: 8.672 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.6719, allocations: 0.7178 MB / 1.522 GB, free: 7.945 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004836/0.6724, allocations: 117.2 kB / 1.522 GB, free: 7.832 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002238/0.6746, allocations: 1.615 MB / 1.524 GB, free: 6.047 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.757e-06/0.6747, allocations: 4 kB / 1.524 GB, free: 6.043 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007492/0.6821, allocations: 2.613 MB / 1.527 GB, free: 3.41 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.6823, allocations: 201.2 kB / 1.527 GB, free: 3.172 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.6848, allocations: 1.718 MB / 1.528 GB, free: 1.438 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002164/0.685, allocations: 65.64 kB / 1.529 GB, free: 1.367 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008408/0.6858, allocations: 0.8631 MB / 1.529 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004929/0.6863, allocations: 0.4958 MB / 1.53 GB, free: 15.99 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004489/0.6868, allocations: 262.8 kB / 1.53 GB, free: 15.72 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.6869, allocations: 357.9 kB / 1.53 GB, free: 15.37 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.6882, allocations: 0.6076 MB / 1.531 GB, free: 14.76 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.6899, allocations: 1.24 MB / 1.532 GB, free: 13.37 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00262/0.6925, allocations: 1.353 MB / 1.534 GB, free: 12 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6925, allocations: 3.938 kB / 1.534 GB, free: 12 MB / 1.232 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004564/0.6971, allocations: 1.835 MB / 1.535 GB, free: 10.14 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.6971, allocations: 8 kB / 1.535 GB, free: 10.13 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.6971, allocations: 3.938 kB / 1.535 GB, free: 10.13 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.6983, allocations: 204.2 kB / 1.536 GB, free: 9.914 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.6999, allocations: 343.5 kB / 1.536 GB, free: 9.578 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007048/0.707, allocations: 6.699 MB / 1.542 GB, free: 2.367 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/0.7091, allocations: 156.8 kB / 1.543 GB, free: 2.215 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.7092, allocations: 55.95 kB / 1.543 GB, free: 2.16 MB / 1.232 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.001294/0.7105, allocations: 487.2 kB / 1.543 GB, free: 1.676 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004049/0.7109, allocations: 190.7 kB / 1.543 GB, free: 1.488 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/0.7156, allocations: 2.124 MB / 1.545 GB, free: 15.33 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.7156, allocations: 16 kB / 1.545 GB, free: 15.31 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.7156, allocations: 0 / 1.545 GB, free: 15.31 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.7156, allocations: 11.91 kB / 1.545 GB, free: 15.3 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007255/0.7229, allocations: 3.521 MB / 1.549 GB, free: 11.73 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.7229, allocations: 0 / 1.549 GB, free: 11.73 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.7246, allocations: 327.5 kB / 1.549 GB, free: 11.41 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.7257, allocations: 200.1 kB / 1.549 GB, free: 11.2 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.7259, allocations: 39.97 kB / 1.549 GB, free: 11.16 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007772/0.7336, allocations: 6.724 MB / 1.556 GB, free: 3.91 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7336, allocations: 0 / 1.556 GB, free: 3.91 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/0.7386, allocations: 2.009 MB / 1.558 GB, free: 1.863 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.7398, allocations: 402.2 kB / 1.558 GB, free: 1.469 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.74, allocations: 28 kB / 1.558 GB, free: 1.441 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.7413, allocations: 106.1 kB / 1.558 GB, free: 1.34 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/0.7416, allocations: 121.1 kB / 1.559 GB, free: 1.219 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.7417, allocations: 71.95 kB / 1.559 GB, free: 1.148 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001725/0.7435, allocations: 1.24 MB / 1.56 GB, free: 15.91 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7435, allocations: 0 / 1.56 GB, free: 15.91 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00217/0.7456, allocations: 0.6975 MB / 1.56 GB, free: 15.21 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.002689/0.7483, allocations: 0.7804 MB / 1.561 GB, free: 14.64 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004078/0.7524, allocations: 2.051 MB / 1.563 GB, free: 12.52 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.7524, allocations: 4.656 kB / 1.563 GB, free: 12.52 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002345/0.7547, allocations: 1.372 MB / 1.565 GB, free: 11.08 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/0.7573, allocations: 0.5176 MB / 1.565 GB, free: 10.59 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007552/0.7649, allocations: 3.902 MB / 1.569 GB, free: 6.652 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.766, allocations: 0.9711 MB / 1.57 GB, free: 5.641 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00185/0.7679, allocations: 496.2 kB / 1.57 GB, free: 5.148 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/0.7684, allocations: 175.3 kB / 1.57 GB, free: 4.977 MB / 1.264 GB Notification: Performance of SimCode: time 1.183e-06/0.7684, allocations: 0 / 1.57 GB, free: 4.977 MB / 1.264 GB Notification: Performance of Templates: time 0.06075/0.8291, allocations: 35.04 MB / 1.605 GB, free: 2.434 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.832332028992823]