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.001956/0.001956, allocations: 101.8 kB / 16.45 MB, free: 6.449 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.002657/0.002657, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.361/3.361, allocations: 0.49 GB / 0.7915 GB, free: 33.39 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.0021/0.0021, allocations: 74.28 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3464, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2107/0.5571, allocations: 172 MB / 1.489 GB, free: 6.199 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0259/0.583, allocations: 17.53 MB / 1.506 GB, free: 4.613 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.585, allocations: 43.62 kB / 1.506 GB, free: 4.57 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.587, allocations: 0.605 MB / 1.507 GB, free: 3.961 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005772/0.5928, allocations: 1.824 MB / 1.509 GB, free: 2.133 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004437/0.5972, allocations: 1.466 MB / 1.51 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005246/0.6025, allocations: 2.91 MB / 1.513 GB, free: 13.76 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003443/0.6059, allocations: 1.605 MB / 1.515 GB, free: 12.09 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005013/0.6109, allocations: 1.529 MB / 1.516 GB, free: 10.61 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002096/0.613, allocations: 1.159 MB / 1.517 GB, free: 9.441 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0007207/0.6138, allocations: 224 kB / 1.517 GB, free: 9.223 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003868/0.6176, allocations: 1.63 MB / 1.519 GB, free: 7.59 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.6188, allocations: 0.8062 MB / 1.52 GB, free: 6.781 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002035/0.6208, allocations: 1.224 MB / 1.521 GB, free: 5.551 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006696/0.6275, allocations: 3.673 MB / 1.525 GB, free: 1.863 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.6275, allocations: 0 / 1.525 GB, free: 1.863 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6275, allocations: 0 / 1.525 GB, free: 1.863 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001148/0.6277, allocations: 0 / 1.525 GB, free: 1.863 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.006561/0.6342, allocations: 2.884 MB / 1.527 GB, free: 14.91 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.6343, allocations: 15.92 kB / 1.527 GB, free: 14.9 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004838/0.6391, allocations: 0.6189 MB / 1.528 GB, free: 14.28 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00336/0.6425, allocations: 1.656 MB / 1.53 GB, free: 12.57 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.6426, allocations: 131.4 kB / 1.53 GB, free: 12.44 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.643, allocations: 164 kB / 1.53 GB, free: 12.28 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004489/0.6474, allocations: 1.96 MB / 1.532 GB, free: 10.27 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.6475, allocations: 0 / 1.532 GB, free: 10.27 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.6477, allocations: 80 kB / 1.532 GB, free: 10.19 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/0.6477, allocations: 40 kB / 1.532 GB, free: 10.15 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004279/0.652, allocations: 2.12 MB / 1.534 GB, free: 8.027 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.6638, allocations: 6.427 MB / 1.54 GB, free: 1.207 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/0.6678, allocations: 2.036 MB / 1.542 GB, free: 15.1 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.6693, allocations: 0.7139 MB / 1.543 GB, free: 14.39 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000667/0.67, allocations: 433.6 kB / 1.543 GB, free: 13.89 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002081/0.6721, allocations: 1.017 MB / 1.544 GB, free: 12.85 MB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 4.118e-06/0.6721, allocations: 0 / 1.544 GB, free: 12.85 MB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.007962/0.68, allocations: 2.994 MB / 1.547 GB, free: 9.746 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.6802, allocations: 201.2 kB / 1.547 GB, free: 9.504 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.6834, allocations: 1.829 MB / 1.549 GB, free: 7.664 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.6837, allocations: 57.7 kB / 1.549 GB, free: 7.602 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009395/0.6846, allocations: 0.8638 MB / 1.55 GB, free: 6.727 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006064/0.6852, allocations: 0.4957 MB / 1.551 GB, free: 6.227 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005555/0.6858, allocations: 262.8 kB / 1.551 GB, free: 5.965 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.686, allocations: 357.9 kB / 1.551 GB, free: 5.609 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.6874, allocations: 0.6038 MB / 1.552 GB, free: 5.004 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.689, allocations: 0.8131 MB / 1.553 GB, free: 4.141 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002936/0.6919, allocations: 1.357 MB / 1.554 GB, free: 2.773 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6919, allocations: 0 / 1.554 GB, free: 2.773 MB / 1.248 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004713/0.6966, allocations: 1.839 MB / 1.556 GB, free: 0.9102 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.6967, allocations: 16 kB / 1.556 GB, free: 0.8945 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6967, allocations: 3.984 kB / 1.556 GB, free: 0.8906 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.6978, allocations: 208 kB / 1.556 GB, free: 0.6719 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.6996, allocations: 339.6 kB / 1.556 GB, free: 348 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007558/0.7071, allocations: 7.324 MB / 1.563 GB, free: 8.312 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.7089, allocations: 171.1 kB / 1.564 GB, free: 8.145 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/0.7091, allocations: 59.95 kB / 1.564 GB, free: 8.086 MB / 1.264 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.00113/0.7102, allocations: 487.2 kB / 1.564 GB, free: 7.602 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005727/0.7108, allocations: 194.8 kB / 1.564 GB, free: 7.41 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005433/0.7162, allocations: 2.141 MB / 1.566 GB, free: 5.238 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.7162, allocations: 16 kB / 1.566 GB, free: 5.223 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.7163, allocations: 0 / 1.566 GB, free: 5.223 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.7163, allocations: 11.97 kB / 1.566 GB, free: 5.211 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009445/0.7257, allocations: 4.018 MB / 1.57 GB, free: 1.113 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.7257, allocations: 3.938 kB / 1.57 GB, free: 1.109 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/0.7274, allocations: 319.6 kB / 1.571 GB, free: 0.7969 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009676/0.7283, allocations: 204.1 kB / 1.571 GB, free: 0.582 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.7285, allocations: 39.97 kB / 1.571 GB, free: 0.543 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007593/0.7361, allocations: 7.352 MB / 1.578 GB, free: 8.484 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7361, allocations: 4 kB / 1.578 GB, free: 8.48 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/0.7412, allocations: 2.025 MB / 1.58 GB, free: 6.418 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.7423, allocations: 483.3 kB / 1.58 GB, free: 5.926 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004345/0.7427, allocations: 31.98 kB / 1.581 GB, free: 5.895 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.7444, allocations: 107.9 kB / 1.581 GB, free: 5.793 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/0.7447, allocations: 113.1 kB / 1.581 GB, free: 5.684 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/0.745, allocations: 71.94 kB / 1.581 GB, free: 5.613 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002492/0.7474, allocations: 1.317 MB / 1.582 GB, free: 4.301 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.7474, allocations: 0 / 1.582 GB, free: 4.301 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002274/0.7497, allocations: 0.6937 MB / 1.583 GB, free: 3.605 MB / 1.279 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.002581/0.7523, allocations: 0.7502 MB / 1.583 GB, free: 3.031 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004362/0.7567, allocations: 2.051 MB / 1.585 GB, free: 0.9141 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.7567, allocations: 0.5625 kB / 1.585 GB, free: 0.9141 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/0.7592, allocations: 1.368 MB / 1.587 GB, free: 15.48 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/0.7623, allocations: 0.5531 MB / 1.587 GB, free: 14.95 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008426/0.7708, allocations: 3.913 MB / 1.591 GB, free: 11 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.7725, allocations: 1.541 MB / 1.593 GB, free: 9.426 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001921/0.7745, allocations: 0.5009 MB / 1.593 GB, free: 8.918 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006528/0.7751, allocations: 179.3 kB / 1.593 GB, free: 8.742 MB / 1.295 GB Notification: Performance of SimCode: time 1.132e-06/0.7751, allocations: 0 / 1.593 GB, free: 8.742 MB / 1.295 GB Notification: Performance of Templates: time 0.7883/1.563, allocations: 32.92 MB / 1.626 GB, free: 269.3 MB / 1.295 GB " [Timeout remaining time 298] 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 -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/jenkins/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.699188157916069]