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.00115/0.00115, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001132/0.001132, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.268/1.268, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] 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.491/2.491, allocations: 476.7 MB / 0.7628 GB, free: 15.38 MB / 0.6075 GB " [Timeout remaining time 177] 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.00184/0.00184, allocations: 68.12 kB / 1.107 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7416, allocations: 168.7 MB / 1.271 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1801/0.9217, allocations: 169.2 MB / 1.437 GB, free: 9.387 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02188/0.9435, allocations: 17.64 MB / 1.454 GB, free: 10.02 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.9449, allocations: 31.81 kB / 1.454 GB, free: 9.984 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.9464, allocations: 0.5894 MB / 1.454 GB, free: 9.391 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004397/0.9508, allocations: 1.814 MB / 1.456 GB, free: 7.57 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.9539, allocations: 1.48 MB / 1.458 GB, free: 6.105 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003408/0.9573, allocations: 2.894 MB / 1.46 GB, free: 3.199 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.9594, allocations: 1.585 MB / 1.462 GB, free: 1.551 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004178/0.9636, allocations: 1.486 MB / 1.463 GB, free: 108 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.9653, allocations: 1.144 MB / 1.465 GB, free: 14.96 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003426/0.9656, allocations: 228 kB / 1.465 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003166/0.9688, allocations: 1.603 MB / 1.466 GB, free: 13.13 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007614/0.9695, allocations: 0.8138 MB / 1.467 GB, free: 12.31 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.971, allocations: 1.275 MB / 1.468 GB, free: 11.03 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005151/0.9761, allocations: 3.755 MB / 1.472 GB, free: 7.262 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.9761, allocations: 3.984 kB / 1.472 GB, free: 7.258 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9761, allocations: 0 / 1.472 GB, free: 7.258 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.313e-05/0.9762, allocations: 0 / 1.472 GB, free: 7.258 MB / 1.154 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.004991/0.9811, allocations: 3.009 MB / 1.475 GB, free: 4.184 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.9812, allocations: 12.03 kB / 1.475 GB, free: 4.172 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002969/0.9815, allocations: 248.8 kB / 1.475 GB, free: 3.918 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003573/0.9851, allocations: 0.5877 MB / 1.476 GB, free: 3.328 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004244/0.9893, allocations: 3.434 MB / 1.479 GB, free: 15.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.9894, allocations: 131.3 kB / 1.479 GB, free: 15.71 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.9896, allocations: 176 kB / 1.479 GB, free: 15.54 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/0.9929, allocations: 1.964 MB / 1.481 GB, free: 13.53 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.9929, allocations: 4 kB / 1.481 GB, free: 13.52 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.9931, allocations: 72 kB / 1.481 GB, free: 13.45 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.9931, allocations: 40 kB / 1.481 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003551/0.9967, allocations: 2.113 MB / 1.484 GB, free: 11.3 MB / 1.17 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.009732/1.006, allocations: 6.724 MB / 1.49 GB, free: 4.23 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/1.01, allocations: 2.039 MB / 1.492 GB, free: 2.117 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/1.011, allocations: 0.7222 MB / 1.493 GB, free: 1.387 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/1.012, allocations: 425.6 kB / 1.493 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001829/1.014, allocations: 1.021 MB / 1.494 GB, free: 15.86 MB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 4.228e-06/1.014, allocations: 4 kB / 1.494 GB, free: 15.85 MB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.007048/1.021, allocations: 2.997 MB / 1.497 GB, free: 12.74 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.021, allocations: 201.2 kB / 1.497 GB, free: 12.5 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005038/1.026, allocations: 4.077 MB / 1.501 GB, free: 8.418 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002416/1.026, allocations: 57.7 kB / 1.501 GB, free: 8.355 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008543/1.027, allocations: 0.9153 MB / 1.502 GB, free: 7.43 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005551/1.027, allocations: 0.4957 MB / 1.503 GB, free: 6.93 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004712/1.028, allocations: 238.8 kB / 1.503 GB, free: 6.691 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.028, allocations: 353.9 kB / 1.503 GB, free: 6.34 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/1.029, allocations: 0.5843 MB / 1.504 GB, free: 5.754 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/1.031, allocations: 0.8086 MB / 1.505 GB, free: 4.887 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/1.033, allocations: 1.337 MB / 1.506 GB, free: 3.535 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/1.033, allocations: 0 / 1.506 GB, free: 3.535 MB / 1.186 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004284/1.038, allocations: 1.808 MB / 1.508 GB, free: 1.703 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.038, allocations: 4 kB / 1.508 GB, free: 1.699 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.038, allocations: 3.938 kB / 1.508 GB, free: 1.695 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/1.039, allocations: 208.2 kB / 1.508 GB, free: 1.477 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/1.04, allocations: 331.5 kB / 1.508 GB, free: 1.152 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006549/1.047, allocations: 7.328 MB / 1.515 GB, free: 9.121 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/1.048, allocations: 170.8 kB / 1.516 GB, free: 8.957 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/1.049, allocations: 47.97 kB / 1.516 GB, free: 8.91 MB / 1.201 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.001118/1.05, allocations: 497.6 kB / 1.516 GB, free: 8.414 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005664/1.05, allocations: 202.7 kB / 1.516 GB, free: 8.215 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004768/1.055, allocations: 2.153 MB / 1.518 GB, free: 6.031 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/1.055, allocations: 20 kB / 1.518 GB, free: 6.012 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.055, allocations: 4 kB / 1.518 GB, free: 6.008 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/1.055, allocations: 7.969 kB / 1.518 GB, free: 6 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00749/1.063, allocations: 4.125 MB / 1.522 GB, free: 1.801 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/1.063, allocations: 0 / 1.522 GB, free: 1.801 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/1.064, allocations: 323.6 kB / 1.523 GB, free: 1.484 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008713/1.065, allocations: 196.1 kB / 1.523 GB, free: 1.277 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/1.065, allocations: 47.89 kB / 1.523 GB, free: 1.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006128/1.071, allocations: 7.359 MB / 1.53 GB, free: 9.168 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.071, allocations: 3.984 kB / 1.53 GB, free: 9.164 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004227/1.075, allocations: 2.033 MB / 1.532 GB, free: 7.09 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009878/1.076, allocations: 0.5187 MB / 1.533 GB, free: 6.551 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003404/1.077, allocations: 28 kB / 1.533 GB, free: 6.523 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.078, allocations: 115 kB / 1.533 GB, free: 6.414 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/1.078, allocations: 109.2 kB / 1.533 GB, free: 6.309 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/1.078, allocations: 72 kB / 1.533 GB, free: 6.238 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003567/1.082, allocations: 3.132 MB / 1.536 GB, free: 3.113 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.082, allocations: 0 / 1.536 GB, free: 3.113 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001917/1.084, allocations: 0.6937 MB / 1.537 GB, free: 2.418 MB / 1.217 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.00668/1.091, allocations: 3.243 MB / 1.54 GB, free: 15.32 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003627/1.094, allocations: 2.035 MB / 1.542 GB, free: 13.22 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.094, allocations: 4.562 kB / 1.542 GB, free: 13.21 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002124/1.096, allocations: 1.368 MB / 1.543 GB, free: 11.79 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/1.099, allocations: 0.5597 MB / 1.544 GB, free: 11.25 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03216/1.131, allocations: 21.07 MB / 1.564 GB, free: 5.938 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/1.133, allocations: 1.54 MB / 1.566 GB, free: 4.367 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001702/1.134, allocations: 0.5328 MB / 1.566 GB, free: 3.828 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/1.136, allocations: 0.9015 MB / 1.567 GB, free: 2.926 MB / 1.248 GB Notification: Performance of SimCode: time 7.51e-07/1.136, allocations: 0 / 1.567 GB, free: 2.926 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/1.244, allocations: 49.83 MB / 1.616 GB, free: 1.57 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.61, allocations: 12 kB / 1.616 GB, free: 1.559 MB / 1.295 GB " [Timeout remaining time 284] (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 --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/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: 21.07760889599922]