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.001363/0.001363, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001436/0.001436, allocations: 155.4 kB / 23.01 MB, free: 4.949 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.541/1.541, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 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 2.96/2.96, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.00215/0.00215, allocations: 63.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9389/0.9411, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2028/1.144, allocations: 148.4 MB / 1.331 GB, free: 1.414 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02645/1.17, allocations: 16.22 MB / 1.347 GB, free: 1.152 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/1.172, allocations: 43.62 kB / 1.347 GB, free: 1.109 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/1.174, allocations: 0.5661 MB / 1.348 GB, free: 0.5391 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005807/1.179, allocations: 1.842 MB / 1.35 GB, free: 14.69 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003978/1.183, allocations: 1.472 MB / 1.351 GB, free: 13.23 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004256/1.188, allocations: 2.902 MB / 1.354 GB, free: 10.32 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002862/1.19, allocations: 1.571 MB / 1.356 GB, free: 8.695 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004938/1.195, allocations: 1.532 MB / 1.357 GB, free: 7.203 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/1.197, allocations: 1.046 MB / 1.358 GB, free: 6.152 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006551/1.198, allocations: 224 kB / 1.358 GB, free: 5.934 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003722/1.202, allocations: 1.455 MB / 1.36 GB, free: 4.477 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001245/1.203, allocations: 0.8101 MB / 1.36 GB, free: 3.664 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002013/1.205, allocations: 1.003 MB / 1.361 GB, free: 2.656 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006906/1.212, allocations: 3.677 MB / 1.365 GB, free: 14.96 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.212, allocations: 0 / 1.365 GB, free: 14.96 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.573e-06/1.212, allocations: 0 / 1.365 GB, free: 14.96 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001336/1.212, allocations: 0 / 1.365 GB, free: 14.96 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.007208/1.219, allocations: 2.812 MB / 1.368 GB, free: 12.11 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.219, allocations: 8.031 kB / 1.368 GB, free: 12.1 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004728/1.224, allocations: 0.619 MB / 1.368 GB, free: 11.48 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003796/1.228, allocations: 1.58 MB / 1.37 GB, free: 9.863 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/1.228, allocations: 131.4 kB / 1.37 GB, free: 9.734 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003866/1.229, allocations: 172 kB / 1.37 GB, free: 9.566 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004238/1.233, allocations: 2.705 MB / 1.373 GB, free: 6.625 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/1.233, allocations: 4 kB / 1.373 GB, free: 6.621 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/1.233, allocations: 76 kB / 1.373 GB, free: 6.547 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.679e-05/1.233, allocations: 40 kB / 1.373 GB, free: 6.508 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00389/1.237, allocations: 2.07 MB / 1.375 GB, free: 4.434 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009613/1.247, allocations: 4.379 MB / 1.379 GB, free: 15.98 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003566/1.25, allocations: 1.736 MB / 1.381 GB, free: 14.24 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/1.252, allocations: 0.7147 MB / 1.382 GB, free: 13.52 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004616/1.252, allocations: 121.2 kB / 1.382 GB, free: 13.41 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00232/1.254, allocations: 1.619 MB / 1.383 GB, free: 11.62 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 4.208e-06/1.254, allocations: 0 / 1.383 GB, free: 11.62 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.007452/1.262, allocations: 2.609 MB / 1.386 GB, free: 8.992 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/1.262, allocations: 201.2 kB / 1.386 GB, free: 8.754 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/1.265, allocations: 1.726 MB / 1.388 GB, free: 7.012 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001952/1.265, allocations: 57.7 kB / 1.388 GB, free: 6.949 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000967/1.266, allocations: 0.8748 MB / 1.389 GB, free: 6.062 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004983/1.266, allocations: 499.7 kB / 1.389 GB, free: 5.57 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004587/1.267, allocations: 258.8 kB / 1.389 GB, free: 5.309 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.267, allocations: 361.9 kB / 1.39 GB, free: 4.949 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/1.268, allocations: 0.5999 MB / 1.39 GB, free: 4.352 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/1.27, allocations: 1.248 MB / 1.392 GB, free: 2.949 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002812/1.273, allocations: 1.36 MB / 1.393 GB, free: 1.578 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.273, allocations: 0 / 1.393 GB, free: 1.578 MB / 1.232 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004543/1.278, allocations: 1.824 MB / 1.395 GB, free: 15.73 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/1.278, allocations: 5.875 kB / 1.395 GB, free: 15.73 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.278, allocations: 11.88 kB / 1.395 GB, free: 15.71 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/1.279, allocations: 212.2 kB / 1.395 GB, free: 15.49 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/1.28, allocations: 335.5 kB / 1.395 GB, free: 15.16 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007342/1.288, allocations: 6.693 MB / 1.402 GB, free: 7.953 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/1.29, allocations: 163.2 kB / 1.402 GB, free: 7.793 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/1.29, allocations: 59.95 kB / 1.402 GB, free: 7.734 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.001258/1.291, allocations: 483.5 kB / 1.402 GB, free: 7.25 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006501/1.292, allocations: 182.8 kB / 1.403 GB, free: 7.07 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005433/1.297, allocations: 2.136 MB / 1.405 GB, free: 4.902 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/1.297, allocations: 16 kB / 1.405 GB, free: 4.887 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.297, allocations: 4 kB / 1.405 GB, free: 4.883 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.152e-05/1.297, allocations: 11.91 kB / 1.405 GB, free: 4.871 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008014/1.305, allocations: 3.525 MB / 1.408 GB, free: 1.293 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.305, allocations: 0 / 1.408 GB, free: 1.293 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/1.307, allocations: 323.5 kB / 1.408 GB, free: 0.9766 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009691/1.308, allocations: 208.1 kB / 1.409 GB, free: 0.7578 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/1.308, allocations: 39.97 kB / 1.409 GB, free: 0.7188 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00676/1.315, allocations: 6.714 MB / 1.415 GB, free: 9.484 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.315, allocations: 4.062 kB / 1.415 GB, free: 9.48 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004716/1.319, allocations: 2.013 MB / 1.417 GB, free: 7.43 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.32, allocations: 410.1 kB / 1.418 GB, free: 7.027 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/1.321, allocations: 28 kB / 1.418 GB, free: 7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.322, allocations: 101.8 kB / 1.418 GB, free: 6.902 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/1.323, allocations: 125.1 kB / 1.418 GB, free: 6.777 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/1.323, allocations: 67.95 kB / 1.418 GB, free: 6.711 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002191/1.325, allocations: 1.232 MB / 1.419 GB, free: 5.48 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/1.325, allocations: 0 / 1.419 GB, free: 5.48 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002191/1.327, allocations: 0.7092 MB / 1.42 GB, free: 4.77 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.002648/1.33, allocations: 0.7673 MB / 1.421 GB, free: 4.203 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004055/1.334, allocations: 2.043 MB / 1.423 GB, free: 2.098 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.334, allocations: 0.8906 kB / 1.423 GB, free: 2.098 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00247/1.336, allocations: 1.375 MB / 1.424 GB, free: 0.6562 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/1.339, allocations: 0.5229 MB / 1.424 GB, free: 160 kB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007923/1.347, allocations: 3.916 MB / 1.428 GB, free: 12.21 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/1.348, allocations: 0.9656 MB / 1.429 GB, free: 11.2 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001838/1.35, allocations: 496.3 kB / 1.43 GB, free: 10.71 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/1.351, allocations: 172.4 kB / 1.43 GB, free: 10.54 MB / 1.279 GB Notification: Performance of SimCode: time 9.11e-07/1.351, allocations: 3.938 kB / 1.43 GB, free: 10.54 MB / 1.279 GB Notification: Performance of Templates: time 0.05792/1.409, allocations: 31.87 MB / 1.461 GB, free: 11.13 MB / 1.311 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 -s ida -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/jenkins1/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.812712610000744]