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.001493/0.001493, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001696/0.001696, allocations: 222.5 kB / 23.03 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 3.008/3.008, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.00287/0.00287, allocations: 70.38 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3681, allocations: 176.1 MB / 1.327 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1922/0.5603, allocations: 148.3 MB / 1.471 GB, free: 12.69 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02549/0.5858, allocations: 16.2 MB / 1.487 GB, free: 12.45 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.5874, allocations: 43.62 kB / 1.487 GB, free: 12.41 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.5894, allocations: 0.5622 MB / 1.488 GB, free: 11.84 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005513/0.5949, allocations: 1.849 MB / 1.49 GB, free: 9.992 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.5991, allocations: 1.471 MB / 1.491 GB, free: 8.531 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004316/0.6035, allocations: 2.922 MB / 1.494 GB, free: 5.598 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.606, allocations: 1.602 MB / 1.495 GB, free: 3.938 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004288/0.6103, allocations: 1.521 MB / 1.497 GB, free: 2.461 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.612, allocations: 1.155 MB / 1.498 GB, free: 1.301 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003668/0.6123, allocations: 224 kB / 1.498 GB, free: 1.082 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.6152, allocations: 1.494 MB / 1.5 GB, free: 15.59 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007627/0.616, allocations: 0.8178 MB / 1.501 GB, free: 14.77 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.6171, allocations: 1.046 MB / 1.502 GB, free: 13.71 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004975/0.6221, allocations: 3.817 MB / 1.505 GB, free: 9.883 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6221, allocations: 0 / 1.505 GB, free: 9.883 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6221, allocations: 0 / 1.505 GB, free: 9.883 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.313e-05/0.6222, allocations: 0 / 1.505 GB, free: 9.883 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.00531/0.6275, allocations: 2.966 MB / 1.508 GB, free: 6.871 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.6275, allocations: 8.031 kB / 1.508 GB, free: 6.863 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.932e-05/0.6276, allocations: 47.33 kB / 1.508 GB, free: 6.816 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002981/0.6279, allocations: 244.9 kB / 1.508 GB, free: 6.566 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/0.6322, allocations: 0.6422 MB / 1.509 GB, free: 5.922 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004399/0.6366, allocations: 3.378 MB / 1.512 GB, free: 2.512 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.6368, allocations: 127.4 kB / 1.513 GB, free: 2.387 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.637, allocations: 171.9 kB / 1.513 GB, free: 2.219 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004135/0.6412, allocations: 2.713 MB / 1.515 GB, free: 15.27 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.6412, allocations: 3.984 kB / 1.515 GB, free: 15.27 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.6414, allocations: 76 kB / 1.515 GB, free: 15.19 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.6414, allocations: 40 kB / 1.515 GB, free: 15.15 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/0.6452, allocations: 2.117 MB / 1.518 GB, free: 13.03 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009565/0.6547, allocations: 5.12 MB / 1.523 GB, free: 7.82 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003361/0.6581, allocations: 1.747 MB / 1.524 GB, free: 6.074 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.6594, allocations: 0.7139 MB / 1.525 GB, free: 5.359 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004579/0.6599, allocations: 113.2 kB / 1.525 GB, free: 5.25 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002282/0.6622, allocations: 1.627 MB / 1.527 GB, free: 3.453 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.827e-06/0.6622, allocations: 0 / 1.527 GB, free: 3.453 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007062/0.6692, allocations: 2.625 MB / 1.529 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.6694, allocations: 197.2 kB / 1.529 GB, free: 0.5742 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005143/0.6745, allocations: 4.109 MB / 1.533 GB, free: 12.46 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002899/0.6748, allocations: 57.7 kB / 1.533 GB, free: 12.39 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000933/0.6758, allocations: 0.9309 MB / 1.534 GB, free: 11.46 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005351/0.6763, allocations: 0.4919 MB / 1.535 GB, free: 10.96 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004319/0.6767, allocations: 238.8 kB / 1.535 GB, free: 10.72 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6769, allocations: 357.9 kB / 1.535 GB, free: 10.36 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.6781, allocations: 0.5804 MB / 1.536 GB, free: 9.785 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.6798, allocations: 1.235 MB / 1.537 GB, free: 8.379 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002579/0.6824, allocations: 1.333 MB / 1.538 GB, free: 7.035 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.6824, allocations: 4 kB / 1.538 GB, free: 7.031 MB / 1.232 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004485/0.6869, allocations: 1.804 MB / 1.54 GB, free: 5.203 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.6869, allocations: 7.984 kB / 1.54 GB, free: 5.195 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6869, allocations: 0 / 1.54 GB, free: 5.195 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.688, allocations: 216.1 kB / 1.54 GB, free: 4.969 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.6897, allocations: 323.6 kB / 1.541 GB, free: 4.652 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006649/0.6963, allocations: 6.8 MB / 1.547 GB, free: 13.27 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.698, allocations: 164.7 kB / 1.548 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.6982, allocations: 55.95 kB / 1.548 GB, free: 13.06 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.001003/0.6992, allocations: 493.3 kB / 1.548 GB, free: 12.57 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004259/0.6996, allocations: 206.7 kB / 1.548 GB, free: 12.36 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004789/0.7044, allocations: 2.158 MB / 1.55 GB, free: 10.18 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.7044, allocations: 16 kB / 1.55 GB, free: 10.16 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.7044, allocations: 0 / 1.55 GB, free: 10.16 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.7044, allocations: 7.969 kB / 1.55 GB, free: 10.16 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0074/0.7118, allocations: 3.832 MB / 1.554 GB, free: 6.258 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.7118, allocations: 4 kB / 1.554 GB, free: 6.254 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/0.7134, allocations: 323.5 kB / 1.554 GB, free: 5.938 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009029/0.7143, allocations: 200.1 kB / 1.555 GB, free: 5.727 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.7144, allocations: 39.97 kB / 1.555 GB, free: 5.688 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00637/0.7208, allocations: 6.815 MB / 1.561 GB, free: 14.29 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7208, allocations: 4.031 kB / 1.561 GB, free: 14.28 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/0.7256, allocations: 2.033 MB / 1.563 GB, free: 12.21 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.7269, allocations: 466 kB / 1.564 GB, free: 11.76 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/0.7272, allocations: 28 kB / 1.564 GB, free: 11.73 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.7285, allocations: 117.1 kB / 1.564 GB, free: 11.62 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/0.7288, allocations: 121.1 kB / 1.564 GB, free: 11.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/0.729, allocations: 71.94 kB / 1.564 GB, free: 11.43 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003645/0.7326, allocations: 3.152 MB / 1.567 GB, free: 8.281 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.7326, allocations: 4 kB / 1.567 GB, free: 8.277 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001997/0.7346, allocations: 0.6976 MB / 1.568 GB, free: 7.578 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.006999/0.7416, allocations: 3.266 MB / 1.571 GB, free: 4.484 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003714/0.7453, allocations: 2.023 MB / 1.573 GB, free: 2.398 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.7453, allocations: 4.656 kB / 1.573 GB, free: 2.395 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002251/0.7476, allocations: 1.364 MB / 1.574 GB, free: 0.9648 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.7503, allocations: 0.5529 MB / 1.575 GB, free: 440 kB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03256/0.7828, allocations: 21.16 MB / 1.596 GB, free: 11.02 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.784, allocations: 0.9619 MB / 1.597 GB, free: 10.02 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001859/0.7858, allocations: 0.5444 MB / 1.597 GB, free: 9.473 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/0.7872, allocations: 0.9053 MB / 1.598 GB, free: 8.566 MB / 1.295 GB Notification: Performance of SimCode: time 8.62e-07/0.7872, allocations: 0 / 1.598 GB, free: 8.566 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7349/1.522, allocations: 53.04 MB / 1.65 GB, free: 257.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.36/18.88, allocations: 9.516 kB / 1.65 GB, free: 257.4 MB / 1.295 GB " [Timeout remaining time 281] (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: 25.61903609498404]