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.001438/0.001438, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001653/0.001653, allocations: 217 kB / 23.04 MB, free: 5.074 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.344/1.344, allocations: 230.6 MB / 256.8 MB, free: 7.988 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 2.854/2.854, allocations: 0.49 GB / 0.7959 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="cs",version="2.0",platforms={"static"}) [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.001804/0.001804, allocations: 69.48 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3022, allocations: 176.1 MB / 1.327 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1847/0.4869, allocations: 172.1 MB / 1.495 GB, free: 5.164 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02354/0.5105, allocations: 17.75 MB / 1.512 GB, free: 3.363 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.5129, allocations: 43.62 kB / 1.512 GB, free: 3.32 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.5155, allocations: 0.5973 MB / 1.513 GB, free: 2.719 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005313/0.5208, allocations: 1.854 MB / 1.515 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.5245, allocations: 1.496 MB / 1.516 GB, free: 15.38 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003739/0.5282, allocations: 2.926 MB / 1.519 GB, free: 12.44 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/0.5307, allocations: 1.598 MB / 1.52 GB, free: 10.78 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004263/0.5349, allocations: 1.531 MB / 1.522 GB, free: 9.293 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.5369, allocations: 1.157 MB / 1.523 GB, free: 8.133 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0005984/0.5375, allocations: 224 kB / 1.523 GB, free: 7.914 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.541, allocations: 1.673 MB / 1.525 GB, free: 6.238 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0009214/0.5419, allocations: 0.8178 MB / 1.526 GB, free: 5.418 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.5437, allocations: 1.286 MB / 1.527 GB, free: 4.125 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005007/0.5487, allocations: 3.802 MB / 1.531 GB, free: 316 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5487, allocations: 0 / 1.531 GB, free: 316 kB / 1.217 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5487, allocations: 0 / 1.531 GB, free: 316 kB / 1.217 GB Notification: Performance of Transformations before backend: time 3.965e-05/0.5487, allocations: 0 / 1.531 GB, free: 316 kB / 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.004862/0.5536, allocations: 2.957 MB / 1.534 GB, free: 13.3 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.5536, allocations: 15.97 kB / 1.534 GB, free: 13.29 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.673e-05/0.5537, allocations: 51.39 kB / 1.534 GB, free: 13.23 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002716/0.554, allocations: 248.9 kB / 1.534 GB, free: 12.98 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004083/0.558, allocations: 0.6306 MB / 1.534 GB, free: 12.35 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004268/0.5623, allocations: 3.382 MB / 1.538 GB, free: 8.934 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.5624, allocations: 127.4 kB / 1.538 GB, free: 8.809 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.5627, allocations: 171.9 kB / 1.538 GB, free: 8.641 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003404/0.5661, allocations: 1.956 MB / 1.54 GB, free: 6.633 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.5661, allocations: 3.938 kB / 1.54 GB, free: 6.629 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.5662, allocations: 76 kB / 1.54 GB, free: 6.555 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.5663, allocations: 40 kB / 1.54 GB, free: 6.516 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003517/0.5698, allocations: 2.109 MB / 1.542 GB, free: 4.402 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009764/0.5796, allocations: 6.867 MB / 1.549 GB, free: 13.14 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/0.5828, allocations: 1.745 MB / 1.551 GB, free: 11.4 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.5841, allocations: 0.7177 MB / 1.551 GB, free: 10.68 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004178/0.5845, allocations: 129.2 kB / 1.551 GB, free: 10.55 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/0.5863, allocations: 1.013 MB / 1.552 GB, free: 9.52 MB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 2.565e-06/0.5863, allocations: 0 / 1.552 GB, free: 9.52 MB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.00677/0.593, allocations: 2.625 MB / 1.555 GB, free: 6.875 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.5932, allocations: 201.2 kB / 1.555 GB, free: 6.637 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004788/0.5979, allocations: 4.102 MB / 1.559 GB, free: 2.531 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002652/0.5982, allocations: 61.7 kB / 1.559 GB, free: 2.465 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008444/0.5991, allocations: 0.9232 MB / 1.56 GB, free: 1.531 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004919/0.5995, allocations: 0.4957 MB / 1.561 GB, free: 1.031 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004001/0.5999, allocations: 238.8 kB / 1.561 GB, free: 0.7891 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.6001, allocations: 353.9 kB / 1.561 GB, free: 448 kB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.6013, allocations: 0.5843 MB / 1.562 GB, free: 15.86 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.6027, allocations: 0.8047 MB / 1.562 GB, free: 14.98 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.6051, allocations: 1.337 MB / 1.564 GB, free: 13.64 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6051, allocations: 0 / 1.564 GB, free: 13.64 MB / 1.264 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004082/0.6092, allocations: 1.808 MB / 1.566 GB, free: 11.8 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.6092, allocations: 10.19 kB / 1.566 GB, free: 11.8 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.6092, allocations: 0 / 1.566 GB, free: 11.8 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.6102, allocations: 212.1 kB / 1.566 GB, free: 11.57 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.6117, allocations: 331.5 kB / 1.566 GB, free: 11.25 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006083/0.6178, allocations: 6.827 MB / 1.573 GB, free: 3.844 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.6194, allocations: 170.3 kB / 1.573 GB, free: 3.68 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.6195, allocations: 47.97 kB / 1.573 GB, free: 3.633 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: 15 (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 (145): * Single equations (assignments): 140 * 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.0009304/0.6204, allocations: 493.4 kB / 1.573 GB, free: 3.141 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003918/0.6208, allocations: 206.7 kB / 1.574 GB, free: 2.938 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/0.6252, allocations: 2.154 MB / 1.576 GB, free: 0.7578 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.6252, allocations: 16 kB / 1.576 GB, free: 0.7422 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.6252, allocations: 0 / 1.576 GB, free: 0.7422 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.6252, allocations: 7.969 kB / 1.576 GB, free: 0.7344 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007099/0.6323, allocations: 4.12 MB / 1.58 GB, free: 12.55 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6323, allocations: 0 / 1.58 GB, free: 12.55 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.6338, allocations: 315.6 kB / 1.58 GB, free: 12.24 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008442/0.6346, allocations: 204.1 kB / 1.58 GB, free: 12.02 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.6347, allocations: 39.97 kB / 1.58 GB, free: 11.98 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005897/0.6406, allocations: 6.842 MB / 1.587 GB, free: 4.555 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6406, allocations: 8 kB / 1.587 GB, free: 4.547 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004257/0.6449, allocations: 2.022 MB / 1.589 GB, free: 2.492 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009669/0.6458, allocations: 462 kB / 1.589 GB, free: 2.039 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.6461, allocations: 32.05 kB / 1.589 GB, free: 2.008 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.6474, allocations: 114 kB / 1.59 GB, free: 1.898 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.6476, allocations: 121.1 kB / 1.59 GB, free: 1.777 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.6477, allocations: 67.95 kB / 1.59 GB, free: 1.711 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003416/0.6512, allocations: 3.156 MB / 1.593 GB, free: 14.56 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.6512, allocations: 0 / 1.593 GB, free: 14.56 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001723/0.6529, allocations: 0.7014 MB / 1.593 GB, free: 13.86 MB / 1.295 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.006392/0.6593, allocations: 3.23 MB / 1.597 GB, free: 10.77 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003521/0.6628, allocations: 2.023 MB / 1.599 GB, free: 8.684 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6628, allocations: 0.6562 kB / 1.599 GB, free: 8.684 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002054/0.6649, allocations: 1.375 MB / 1.6 GB, free: 7.242 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.6674, allocations: 0.5433 MB / 1.6 GB, free: 6.715 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5882/1.256, allocations: 21.17 MB / 1.621 GB, free: 270.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.257, allocations: 1.533 MB / 1.623 GB, free: 269.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001625/1.258, allocations: 0.5282 MB / 1.623 GB, free: 269.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009998/1.259, allocations: 0.9086 MB / 1.624 GB, free: 268.7 MB / 1.295 GB Notification: Performance of SimCode: time 9.42e-07/1.259, allocations: 1.125 kB / 1.624 GB, free: 268.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08662/1.346, allocations: 50.96 MB / 1.674 GB, free: 233.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.88/17.22, allocations: 13.08 kB / 1.674 GB, free: 233.8 MB / 1.295 GB " [Timeout remaining time 282] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 420.0] 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: 23.73885451001115]