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.001705/0.001705, allocations: 79.81 kB / 19.76 MB, free: 2.031 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.002007/0.002007, allocations: 157.6 kB / 23.01 MB, free: 4.945 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.466/1.466, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.829/2.829, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 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.002165/0.002165, allocations: 63.89 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9168/0.919, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1849/1.104, allocations: 148.4 MB / 1.299 GB, free: 13.42 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02542/1.129, allocations: 16.23 MB / 1.315 GB, free: 1.406 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/1.131, allocations: 43 kB / 1.315 GB, free: 1.383 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/1.133, allocations: 0.5659 MB / 1.315 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005994/1.139, allocations: 1.847 MB / 1.317 GB, free: 15.52 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004426/1.144, allocations: 1.468 MB / 1.318 GB, free: 14.42 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004444/1.148, allocations: 2.913 MB / 1.321 GB, free: 12.66 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/1.151, allocations: 1.583 MB / 1.323 GB, free: 11.5 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004736/1.155, allocations: 1.518 MB / 1.324 GB, free: 10.18 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/1.157, allocations: 1.058 MB / 1.325 GB, free: 9.121 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003931/1.158, allocations: 224 kB / 1.326 GB, free: 8.902 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/1.161, allocations: 1.454 MB / 1.327 GB, free: 7.445 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0008183/1.162, allocations: 0.8062 MB / 1.328 GB, free: 6.637 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001279/1.163, allocations: 1.003 MB / 1.329 GB, free: 5.629 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005224/1.168, allocations: 3.681 MB / 1.332 GB, free: 1.934 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.168, allocations: 0 / 1.332 GB, free: 1.934 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.693e-06/1.168, allocations: 0 / 1.332 GB, free: 1.934 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.731e-05/1.168, allocations: 4 kB / 1.332 GB, free: 1.93 MB / 1.17 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.005094/1.173, allocations: 2.804 MB / 1.335 GB, free: 15.08 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.173, allocations: 12.03 kB / 1.335 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004643/1.178, allocations: 0.6228 MB / 1.336 GB, free: 14.44 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/1.181, allocations: 1.572 MB / 1.337 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/1.181, allocations: 131.4 kB / 1.337 GB, free: 12.71 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/1.181, allocations: 164 kB / 1.338 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004086/1.185, allocations: 2.717 MB / 1.34 GB, free: 9.594 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/1.185, allocations: 0 / 1.34 GB, free: 9.594 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/1.186, allocations: 79.98 kB / 1.34 GB, free: 9.516 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/1.186, allocations: 40 kB / 1.34 GB, free: 9.477 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003913/1.19, allocations: 2.066 MB / 1.342 GB, free: 7.406 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008922/1.198, allocations: 4.369 MB / 1.347 GB, free: 2.965 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003533/1.202, allocations: 1.757 MB / 1.348 GB, free: 1.211 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/1.203, allocations: 0.7104 MB / 1.349 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004795/1.204, allocations: 113.2 kB / 1.349 GB, free: 396 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002385/1.206, allocations: 1.627 MB / 1.351 GB, free: 14.59 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 3.386e-06/1.206, allocations: 0 / 1.351 GB, free: 14.59 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.007345/1.214, allocations: 2.617 MB / 1.353 GB, free: 11.95 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/1.214, allocations: 197.2 kB / 1.353 GB, free: 11.72 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/1.216, allocations: 1.726 MB / 1.355 GB, free: 9.977 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002811/1.217, allocations: 57.7 kB / 1.355 GB, free: 9.914 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009622/1.218, allocations: 0.8631 MB / 1.356 GB, free: 9.039 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005605/1.218, allocations: 0.4996 MB / 1.357 GB, free: 8.535 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004454/1.219, allocations: 258.7 kB / 1.357 GB, free: 8.273 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.219, allocations: 365.8 kB / 1.357 GB, free: 7.91 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/1.22, allocations: 0.6077 MB / 1.358 GB, free: 7.305 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/1.222, allocations: 1.24 MB / 1.359 GB, free: 5.906 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/1.225, allocations: 1.353 MB / 1.36 GB, free: 4.543 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/1.225, allocations: 4 kB / 1.36 GB, free: 4.539 MB / 1.201 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004529/1.229, allocations: 1.839 MB / 1.362 GB, free: 2.676 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/1.229, allocations: 4 kB / 1.362 GB, free: 2.672 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.229, allocations: 3.938 kB / 1.362 GB, free: 2.668 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/1.23, allocations: 208.1 kB / 1.362 GB, free: 2.449 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.232, allocations: 343.6 kB / 1.363 GB, free: 2.113 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006881/1.239, allocations: 6.679 MB / 1.369 GB, free: 10.92 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/1.241, allocations: 159.3 kB / 1.369 GB, free: 10.76 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.241, allocations: 59.95 kB / 1.369 GB, free: 10.7 MB / 1.217 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.001022/1.242, allocations: 492.2 kB / 1.37 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004769/1.242, allocations: 186.8 kB / 1.37 GB, free: 10.03 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004838/1.247, allocations: 2.124 MB / 1.372 GB, free: 7.879 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/1.247, allocations: 16 kB / 1.372 GB, free: 7.863 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.247, allocations: 4 kB / 1.372 GB, free: 7.859 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/1.247, allocations: 11.91 kB / 1.372 GB, free: 7.848 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007279/1.255, allocations: 3.533 MB / 1.375 GB, free: 4.258 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/1.255, allocations: 4 kB / 1.376 GB, free: 4.254 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/1.256, allocations: 315.6 kB / 1.376 GB, free: 3.945 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/1.257, allocations: 204.1 kB / 1.376 GB, free: 3.73 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/1.257, allocations: 43.95 kB / 1.376 GB, free: 3.688 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006492/1.264, allocations: 6.702 MB / 1.383 GB, free: 12.46 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.264, allocations: 0 / 1.383 GB, free: 12.46 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004766/1.269, allocations: 2.009 MB / 1.385 GB, free: 10.42 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.27, allocations: 402.1 kB / 1.385 GB, free: 10.03 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/1.27, allocations: 39.98 kB / 1.385 GB, free: 9.988 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/1.271, allocations: 99.89 kB / 1.385 GB, free: 9.891 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/1.271, allocations: 121 kB / 1.385 GB, free: 9.77 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/1.272, allocations: 75.94 kB / 1.385 GB, free: 9.695 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001699/1.273, allocations: 1.236 MB / 1.386 GB, free: 8.461 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.1e-08/1.273, allocations: 0 / 1.386 GB, free: 8.461 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001867/1.275, allocations: 0.7053 MB / 1.387 GB, free: 7.754 MB / 1.232 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.002458/1.278, allocations: 0.7767 MB / 1.388 GB, free: 7.184 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00381/1.281, allocations: 2.051 MB / 1.39 GB, free: 5.066 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.281, allocations: 0.6562 kB / 1.39 GB, free: 5.066 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00227/1.284, allocations: 1.383 MB / 1.391 GB, free: 3.621 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/1.286, allocations: 0.5211 MB / 1.392 GB, free: 3.125 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006932/1.293, allocations: 3.895 MB / 1.396 GB, free: 15.2 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/1.294, allocations: 0.965 MB / 1.397 GB, free: 14.19 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00164/1.296, allocations: 496.2 kB / 1.397 GB, free: 13.7 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005126/1.296, allocations: 180.3 kB / 1.397 GB, free: 13.52 MB / 1.248 GB Notification: Performance of SimCode: time 1.062e-06/1.296, allocations: 4 kB / 1.397 GB, free: 13.52 MB / 1.248 GB Notification: Performance of Templates: time 0.05882/1.355, allocations: 31.89 MB / 1.428 GB, free: 14.11 MB / 1.279 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 ida -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: 10.708689145976678]