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.0013/0.0013, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001482/0.001482, allocations: 216.3 kB / 22.24 MB, free: 5.258 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.345/1.345, allocations: 230.6 MB / 256 MB, free: 7.812 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.946/2.946, allocations: 0.49 GB / 0.7951 GB, free: 35.62 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",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.001931/0.001931, allocations: 66.47 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2984, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1797/0.4781, allocations: 148.4 MB / 1.471 GB, free: 12.55 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02304/0.5011, allocations: 16.21 MB / 1.487 GB, free: 12.29 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.5031, allocations: 43.62 kB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.505, allocations: 0.5661 MB / 1.487 GB, free: 11.68 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005748/0.5107, allocations: 1.843 MB / 1.489 GB, free: 9.832 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003777/0.5145, allocations: 1.47 MB / 1.49 GB, free: 8.375 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003823/0.5183, allocations: 2.926 MB / 1.493 GB, free: 5.438 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.5207, allocations: 1.598 MB / 1.495 GB, free: 3.777 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004336/0.525, allocations: 1.525 MB / 1.496 GB, free: 2.297 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.5268, allocations: 1.163 MB / 1.497 GB, free: 1.129 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003567/0.5272, allocations: 224 kB / 1.498 GB, free: 0.9102 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.5303, allocations: 1.486 MB / 1.499 GB, free: 15.42 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007508/0.531, allocations: 0.8139 MB / 1.5 GB, free: 14.61 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.5323, allocations: 1.054 MB / 1.501 GB, free: 13.55 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005657/0.5379, allocations: 3.81 MB / 1.505 GB, free: 9.723 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.5379, allocations: 4 kB / 1.505 GB, free: 9.719 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5379, allocations: 0 / 1.505 GB, free: 9.719 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.284e-05/0.538, allocations: 0 / 1.505 GB, free: 9.719 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.005513/0.5435, allocations: 2.964 MB / 1.508 GB, free: 6.699 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5435, allocations: 12.03 kB / 1.508 GB, free: 6.688 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000305/0.5438, allocations: 244.9 kB / 1.508 GB, free: 6.438 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004464/0.5483, allocations: 0.6422 MB / 1.508 GB, free: 5.793 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004791/0.5531, allocations: 3.374 MB / 1.512 GB, free: 2.387 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.5532, allocations: 127.4 kB / 1.512 GB, free: 2.262 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/0.5535, allocations: 172 kB / 1.512 GB, free: 2.094 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004051/0.5575, allocations: 2.721 MB / 1.515 GB, free: 15.14 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.5576, allocations: 0 / 1.515 GB, free: 15.14 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.5577, allocations: 72 kB / 1.515 GB, free: 15.07 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.5578, allocations: 44 kB / 1.515 GB, free: 15.02 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003565/0.5613, allocations: 2.066 MB / 1.517 GB, free: 12.95 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009517/0.5708, allocations: 5.12 MB / 1.522 GB, free: 7.742 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.5741, allocations: 1.742 MB / 1.523 GB, free: 6.004 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.5754, allocations: 0.7177 MB / 1.524 GB, free: 5.277 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004694/0.5758, allocations: 113.2 kB / 1.524 GB, free: 5.168 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002174/0.578, allocations: 1.624 MB / 1.526 GB, free: 3.375 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.376e-06/0.578, allocations: 0 / 1.526 GB, free: 3.375 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007025/0.585, allocations: 2.629 MB / 1.528 GB, free: 0.7266 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.5852, allocations: 197.2 kB / 1.529 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005052/0.5902, allocations: 4.117 MB / 1.533 GB, free: 12.37 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 0.0002846/0.5905, allocations: 61.7 kB / 1.533 GB, free: 12.3 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008653/0.5914, allocations: 0.9194 MB / 1.534 GB, free: 11.38 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005247/0.5919, allocations: 499.7 kB / 1.534 GB, free: 10.88 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004111/0.5923, allocations: 238.8 kB / 1.534 GB, free: 10.64 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5925, allocations: 353.9 kB / 1.535 GB, free: 10.29 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.5936, allocations: 0.5882 MB / 1.535 GB, free: 9.703 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.5952, allocations: 1.237 MB / 1.536 GB, free: 8.301 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/0.5977, allocations: 1.329 MB / 1.538 GB, free: 6.961 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.5977, allocations: 3.984 kB / 1.538 GB, free: 6.957 MB / 1.233 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004444/0.6021, allocations: 1.808 MB / 1.54 GB, free: 5.125 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.6022, allocations: 8.062 kB / 1.54 GB, free: 5.117 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.6022, allocations: 0 / 1.54 GB, free: 5.117 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.6033, allocations: 216 kB / 1.54 GB, free: 4.891 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.6049, allocations: 331.6 kB / 1.54 GB, free: 4.566 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006527/0.6115, allocations: 6.796 MB / 1.547 GB, free: 13.19 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.6132, allocations: 171.2 kB / 1.547 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.6133, allocations: 51.97 kB / 1.547 GB, free: 12.97 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: 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.0009715/0.6143, allocations: 485.4 kB / 1.547 GB, free: 12.49 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004185/0.6147, allocations: 202.7 kB / 1.548 GB, free: 12.29 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/0.6194, allocations: 2.161 MB / 1.55 GB, free: 10.1 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.6194, allocations: 15.98 kB / 1.55 GB, free: 10.08 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.6194, allocations: 4 kB / 1.55 GB, free: 10.08 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.6194, allocations: 7.969 kB / 1.55 GB, free: 10.07 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007239/0.6266, allocations: 3.828 MB / 1.553 GB, free: 6.18 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.6266, allocations: 0 / 1.553 GB, free: 6.18 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.6282, allocations: 319.5 kB / 1.554 GB, free: 5.867 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009103/0.6291, allocations: 204.1 kB / 1.554 GB, free: 5.652 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.6292, allocations: 39.97 kB / 1.554 GB, free: 5.613 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006462/0.6357, allocations: 6.823 MB / 1.561 GB, free: 14.2 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6357, allocations: 0 / 1.561 GB, free: 14.2 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00456/0.6403, allocations: 2.033 MB / 1.563 GB, free: 12.13 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.6414, allocations: 462 kB / 1.563 GB, free: 11.68 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002484/0.6416, allocations: 28 kB / 1.563 GB, free: 11.65 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.643, allocations: 123.9 kB / 1.563 GB, free: 11.54 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/0.6433, allocations: 113.1 kB / 1.563 GB, free: 11.42 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.6434, allocations: 75.88 kB / 1.563 GB, free: 11.35 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003541/0.647, allocations: 3.148 MB / 1.566 GB, free: 8.207 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.647, allocations: 0 / 1.566 GB, free: 8.207 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001906/0.6489, allocations: 0.7054 MB / 1.567 GB, free: 7.5 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.0068/0.6557, allocations: 3.26 MB / 1.57 GB, free: 4.41 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003645/0.6593, allocations: 2.023 MB / 1.572 GB, free: 2.32 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6593, allocations: 0.6562 kB / 1.572 GB, free: 2.32 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.6615, allocations: 1.375 MB / 1.574 GB, free: 0.8828 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.6639, allocations: 0.5501 MB / 1.574 GB, free: 360 kB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03269/0.6966, allocations: 21.16 MB / 1.595 GB, free: 10.94 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.6978, allocations: 0.9658 MB / 1.596 GB, free: 9.941 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001869/0.6996, allocations: 0.5329 MB / 1.596 GB, free: 9.402 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/0.7009, allocations: 0.9053 MB / 1.597 GB, free: 8.496 MB / 1.295 GB Notification: Performance of SimCode: time 9.01e-07/0.7009, allocations: 3.938 kB / 1.597 GB, free: 8.492 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6654/1.366, allocations: 53.6 MB / 1.65 GB, free: 256.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/15.58, allocations: 4.578 kB / 1.65 GB, free: 256.5 MB / 1.295 GB " [Timeout remaining time 284] (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: 21.99031135698897]