Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 105.5 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.846/2.846, allocations: 469.8 MB / 0.749 GB, free: 3.156 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.88 kB / 1.073 GB, free: 132 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.917/0.919, allocations: 159.1 MB / 1.229 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2084/1.127, allocations: 168.4 MB / 1.393 GB, free: 11.67 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02624/1.154, allocations: 17.36 MB / 1.41 GB, free: 10.27 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/1.156, allocations: 31.81 kB / 1.41 GB, free: 10.23 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002286/1.158, allocations: 0.5699 MB / 1.411 GB, free: 9.66 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006655/1.165, allocations: 1.786 MB / 1.412 GB, free: 7.871 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004517/1.169, allocations: 1.446 MB / 1.414 GB, free: 6.438 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004823/1.174, allocations: 2.906 MB / 1.417 GB, free: 3.52 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003368/1.178, allocations: 1.936 MB / 1.419 GB, free: 1.523 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005133/1.183, allocations: 1.424 MB / 1.42 GB, free: 148 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/1.185, allocations: 1.124 MB / 1.421 GB, free: 15.02 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0008726/1.186, allocations: 220 kB / 1.421 GB, free: 14.8 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004248/1.19, allocations: 1.552 MB / 1.423 GB, free: 13.25 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001322/1.191, allocations: 0.8062 MB / 1.424 GB, free: 12.44 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002251/1.194, allocations: 1.275 MB / 1.425 GB, free: 11.16 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006826/1.201, allocations: 3.751 MB / 1.428 GB, free: 7.391 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.201, allocations: 0 / 1.428 GB, free: 7.391 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.683e-06/1.201, allocations: 3.938 kB / 1.428 GB, free: 7.387 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.372e-05/1.201, allocations: 4 kB / 1.428 GB, free: 7.383 MB / 1.139 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.007165/1.208, allocations: 3.016 MB / 1.431 GB, free: 4.301 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.208, allocations: 8.031 kB / 1.431 GB, free: 4.293 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004294/1.208, allocations: 248.9 kB / 1.432 GB, free: 4.039 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/1.213, allocations: 0.576 MB / 1.432 GB, free: 3.461 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00542/1.218, allocations: 3.446 MB / 1.436 GB, free: 15.96 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/1.218, allocations: 127.4 kB / 1.436 GB, free: 15.84 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003874/1.219, allocations: 172 kB / 1.436 GB, free: 15.67 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004398/1.223, allocations: 1.953 MB / 1.438 GB, free: 13.67 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/1.223, allocations: 7.938 kB / 1.438 GB, free: 13.66 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/1.223, allocations: 72 kB / 1.438 GB, free: 13.59 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.621e-05/1.223, allocations: 44 kB / 1.438 GB, free: 13.55 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004103/1.228, allocations: 2.117 MB / 1.44 GB, free: 11.43 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01174/1.239, allocations: 6.709 MB / 1.447 GB, free: 4.375 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/1.243, allocations: 2.139 MB / 1.449 GB, free: 2.164 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/1.245, allocations: 0.7802 MB / 1.449 GB, free: 1.379 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/1.246, allocations: 437.6 kB / 1.45 GB, free: 0.875 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002134/1.248, allocations: 1.017 MB / 1.451 GB, free: 15.84 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 4.248e-06/1.248, allocations: 4 kB / 1.451 GB, free: 15.83 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.007823/1.256, allocations: 3.009 MB / 1.454 GB, free: 12.71 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/1.256, allocations: 201.2 kB / 1.454 GB, free: 12.47 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005572/1.262, allocations: 4.081 MB / 1.458 GB, free: 8.387 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003505/1.262, allocations: 53.7 kB / 1.458 GB, free: 8.328 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009933/1.263, allocations: 0.9192 MB / 1.459 GB, free: 7.398 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006279/1.264, allocations: 0.4918 MB / 1.459 GB, free: 6.902 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/1.264, allocations: 238.8 kB / 1.46 GB, free: 6.664 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.264, allocations: 357.9 kB / 1.46 GB, free: 6.309 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/1.266, allocations: 0.5843 MB / 1.46 GB, free: 5.723 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/1.267, allocations: 0.8125 MB / 1.461 GB, free: 4.852 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002961/1.27, allocations: 1.333 MB / 1.463 GB, free: 3.504 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/1.27, allocations: 0 / 1.463 GB, free: 3.504 MB / 1.17 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005018/1.275, allocations: 1.8 MB / 1.464 GB, free: 1.68 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/1.275, allocations: 8 kB / 1.464 GB, free: 1.672 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.275, allocations: 0 / 1.464 GB, free: 1.672 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/1.277, allocations: 216.1 kB / 1.465 GB, free: 1.445 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/1.278, allocations: 327.6 kB / 1.465 GB, free: 1.125 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007377/1.286, allocations: 7.329 MB / 1.472 GB, free: 9.094 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/1.288, allocations: 173.9 kB / 1.472 GB, free: 8.926 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/1.288, allocations: 51.97 kB / 1.472 GB, free: 8.875 MB / 1.186 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.001331/1.289, allocations: 489.3 kB / 1.473 GB, free: 8.387 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007316/1.29, allocations: 210.7 kB / 1.473 GB, free: 8.18 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005497/1.296, allocations: 2.157 MB / 1.475 GB, free: 5.992 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/1.296, allocations: 16 kB / 1.475 GB, free: 5.977 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.296, allocations: 0 / 1.475 GB, free: 5.977 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/1.296, allocations: 7.969 kB / 1.475 GB, free: 5.969 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008858/1.305, allocations: 4.14 MB / 1.479 GB, free: 1.754 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.305, allocations: 0 / 1.479 GB, free: 1.754 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.306, allocations: 315.6 kB / 1.479 GB, free: 1.445 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009951/1.307, allocations: 204.1 kB / 1.48 GB, free: 1.23 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.307, allocations: 43.95 kB / 1.48 GB, free: 1.188 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007127/1.315, allocations: 7.355 MB / 1.487 GB, free: 9.125 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.315, allocations: 0 / 1.487 GB, free: 9.125 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005193/1.32, allocations: 2.033 MB / 1.489 GB, free: 7.051 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.321, allocations: 0.5228 MB / 1.489 GB, free: 6.508 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004263/1.322, allocations: 28 kB / 1.489 GB, free: 6.48 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/1.323, allocations: 118.4 kB / 1.489 GB, free: 6.367 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/1.324, allocations: 121.1 kB / 1.49 GB, free: 6.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/1.324, allocations: 67.95 kB / 1.49 GB, free: 6.184 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.004167/1.328, allocations: 3.132 MB / 1.493 GB, free: 3.059 MB / 1.201 GB Notification: Performance of sort global known variables: time 3e-07/1.328, allocations: 4 kB / 1.493 GB, free: 3.055 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003072/1.331, allocations: 0.6976 MB / 1.493 GB, free: 2.355 MB / 1.201 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.008676/1.34, allocations: 3.237 MB / 1.497 GB, free: 15.28 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004703/1.345, allocations: 2.082 MB / 1.499 GB, free: 13.13 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.345, allocations: 4.562 kB / 1.499 GB, free: 13.12 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002663/1.347, allocations: 1.418 MB / 1.5 GB, free: 11.64 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/1.35, allocations: 0.5498 MB / 1.5 GB, free: 11.11 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03669/1.387, allocations: 21.09 MB / 1.521 GB, free: 5.773 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/1.389, allocations: 1.533 MB / 1.523 GB, free: 4.207 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002036/1.391, allocations: 0.5212 MB / 1.523 GB, free: 3.68 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.392, allocations: 0.9053 MB / 1.524 GB, free: 2.773 MB / 1.232 GB Notification: Performance of SimCode: time 8.52e-07/1.392, allocations: 0 / 1.524 GB, free: 2.773 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/1.511, allocations: 49.35 MB / 1.572 GB, free: 1.93 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.38/17.89, allocations: 0 / 1.572 GB, free: 1.93 MB / 1.279 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 24.441281649982557]