Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001224/0.001224, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001349/0.001349, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.416/1.416, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.831/2.831, allocations: 0.5003 GB / 0.8026 GB, free: 6.887 MB / 0.6387 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_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.002035/0.002035, allocations: 67.91 kB / 1.165 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9019/0.904, allocations: 178.9 MB / 1.34 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2079/1.112, allocations: 172 MB / 1.508 GB, free: 7.461 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02422/1.136, allocations: 17.53 MB / 1.525 GB, free: 5.875 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/1.138, allocations: 43.62 kB / 1.525 GB, free: 5.832 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/1.139, allocations: 0.5933 MB / 1.526 GB, free: 5.234 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004878/1.144, allocations: 1.835 MB / 1.528 GB, free: 3.395 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003439/1.148, allocations: 1.462 MB / 1.529 GB, free: 1.945 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003513/1.151, allocations: 2.906 MB / 1.532 GB, free: 15.03 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/1.153, allocations: 1.613 MB / 1.533 GB, free: 13.37 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004306/1.158, allocations: 1.515 MB / 1.535 GB, free: 11.9 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/1.16, allocations: 1.155 MB / 1.536 GB, free: 10.74 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0005807/1.16, allocations: 224 kB / 1.536 GB, free: 10.52 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003583/1.164, allocations: 1.638 MB / 1.538 GB, free: 8.879 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008847/1.165, allocations: 0.8178 MB / 1.539 GB, free: 8.059 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001475/1.166, allocations: 1.279 MB / 1.54 GB, free: 6.773 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005309/1.171, allocations: 3.81 MB / 1.544 GB, free: 2.949 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.171, allocations: 3.938 kB / 1.544 GB, free: 2.945 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.054e-06/1.171, allocations: 0 / 1.544 GB, free: 2.945 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.42e-05/1.171, allocations: 0 / 1.544 GB, free: 2.945 MB / 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.005396/1.177, allocations: 3.032 MB / 1.547 GB, free: 15.85 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.177, allocations: 12.03 kB / 1.547 GB, free: 15.84 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.735e-05/1.177, allocations: 43.39 kB / 1.547 GB, free: 15.79 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003053/1.177, allocations: 248.9 kB / 1.547 GB, free: 15.54 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004376/1.182, allocations: 0.6384 MB / 1.548 GB, free: 14.9 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0045/1.186, allocations: 3.458 MB / 1.551 GB, free: 11.39 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/1.186, allocations: 127.4 kB / 1.551 GB, free: 11.27 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/1.186, allocations: 175.9 kB / 1.551 GB, free: 11.09 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003491/1.19, allocations: 1.952 MB / 1.553 GB, free: 9.09 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/1.19, allocations: 3.984 kB / 1.553 GB, free: 9.086 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/1.19, allocations: 71.98 kB / 1.553 GB, free: 9.016 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/1.19, allocations: 47.94 kB / 1.553 GB, free: 8.969 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003808/1.194, allocations: 2.113 MB / 1.555 GB, free: 6.852 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/1.205, allocations: 6.941 MB / 1.562 GB, free: 15.52 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003808/1.209, allocations: 2.045 MB / 1.564 GB, free: 13.39 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/1.21, allocations: 0.7177 MB / 1.565 GB, free: 12.67 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006313/1.211, allocations: 421.6 kB / 1.565 GB, free: 12.18 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001955/1.213, allocations: 1.013 MB / 1.566 GB, free: 11.15 MB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 2.825e-06/1.213, allocations: 4 kB / 1.566 GB, free: 11.15 MB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.007543/1.22, allocations: 3.001 MB / 1.569 GB, free: 8.035 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/1.22, allocations: 201.2 kB / 1.569 GB, free: 7.793 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005037/1.225, allocations: 4.109 MB / 1.573 GB, free: 3.68 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002243/1.226, allocations: 61.7 kB / 1.573 GB, free: 3.613 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008871/1.227, allocations: 0.9155 MB / 1.574 GB, free: 2.688 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005512/1.227, allocations: 0.4957 MB / 1.575 GB, free: 2.188 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004327/1.228, allocations: 238.8 kB / 1.575 GB, free: 1.949 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001924/1.228, allocations: 353.9 kB / 1.575 GB, free: 1.598 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/1.229, allocations: 0.5882 MB / 1.576 GB, free: 1.008 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/1.231, allocations: 0.8086 MB / 1.577 GB, free: 140 kB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/1.233, allocations: 1.333 MB / 1.578 GB, free: 14.79 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.233, allocations: 4 kB / 1.578 GB, free: 14.79 MB / 1.264 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004371/1.238, allocations: 1.808 MB / 1.58 GB, free: 12.96 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.238, allocations: 4 kB / 1.58 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.238, allocations: 0 / 1.58 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/1.239, allocations: 216.2 kB / 1.58 GB, free: 12.73 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/1.24, allocations: 327.5 kB / 1.58 GB, free: 12.41 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007145/1.247, allocations: 7.341 MB / 1.587 GB, free: 4.363 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/1.249, allocations: 163.1 kB / 1.588 GB, free: 4.203 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/1.249, allocations: 47.97 kB / 1.588 GB, free: 4.156 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.001032/1.25, allocations: 489.4 kB / 1.588 GB, free: 3.668 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/1.251, allocations: 210.7 kB / 1.588 GB, free: 3.461 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/1.256, allocations: 2.154 MB / 1.59 GB, free: 1.277 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/1.256, allocations: 16 kB / 1.59 GB, free: 1.262 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.256, allocations: 0 / 1.59 GB, free: 1.262 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/1.256, allocations: 11.97 kB / 1.59 GB, free: 1.25 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007747/1.264, allocations: 4.141 MB / 1.594 GB, free: 13.03 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/1.264, allocations: 0 / 1.594 GB, free: 13.03 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/1.265, allocations: 319.6 kB / 1.595 GB, free: 12.72 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009159/1.266, allocations: 200.1 kB / 1.595 GB, free: 12.51 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/1.266, allocations: 39.97 kB / 1.595 GB, free: 12.47 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006871/1.273, allocations: 7.371 MB / 1.602 GB, free: 4.395 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.273, allocations: 7.969 kB / 1.602 GB, free: 4.387 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00474/1.278, allocations: 2.025 MB / 1.604 GB, free: 2.324 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.279, allocations: 0.5304 MB / 1.605 GB, free: 1.773 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/1.279, allocations: 31.98 kB / 1.605 GB, free: 1.742 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.28, allocations: 111.7 kB / 1.605 GB, free: 1.637 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/1.281, allocations: 117.2 kB / 1.605 GB, free: 1.523 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/1.281, allocations: 67.94 kB / 1.605 GB, free: 1.457 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003779/1.285, allocations: 3.148 MB / 1.608 GB, free: 14.32 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.9e-07/1.285, allocations: 0 / 1.608 GB, free: 14.32 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002205/1.287, allocations: 0.7054 MB / 1.609 GB, free: 13.61 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.007173/1.294, allocations: 3.227 MB / 1.612 GB, free: 10.52 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003929/1.298, allocations: 2.027 MB / 1.614 GB, free: 8.43 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.298, allocations: 4.562 kB / 1.614 GB, free: 8.426 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002284/1.3, allocations: 1.364 MB / 1.615 GB, free: 7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/1.303, allocations: 0.5445 MB / 1.616 GB, free: 6.473 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03439/1.337, allocations: 21.18 MB / 1.636 GB, free: 1.062 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/1.339, allocations: 1.537 MB / 1.638 GB, free: 15.5 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.001826/1.341, allocations: 0.5289 MB / 1.638 GB, free: 14.96 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/1.342, allocations: 0.9092 MB / 1.639 GB, free: 14.05 MB / 1.326 GB Notification: Performance of SimCode: time 1.142e-06/1.342, allocations: 0 / 1.639 GB, free: 14.05 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.449, allocations: 49.99 MB / 1.688 GB, free: 12.55 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.7/18.15, allocations: 2.875 kB / 1.688 GB, free: 12.55 MB / 1.373 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.647842056001537]