Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.001274/0.001274, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001456/0.001456, allocations: 215.6 kB / 23.03 MB, free: 4.922 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 3.075/3.075, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 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.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.001949/0.001949, allocations: 61.22 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3657, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1676/0.5333, allocations: 135.8 MB / 1.478 GB, free: 7.598 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01509/0.5484, allocations: 9.924 MB / 1.488 GB, free: 13.64 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.5495, allocations: 27.75 kB / 1.488 GB, free: 13.62 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.5508, allocations: 289.7 kB / 1.488 GB, free: 13.33 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.5544, allocations: 1.013 MB / 1.489 GB, free: 12.32 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.5576, allocations: 1.118 MB / 1.49 GB, free: 11.21 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002822/0.5605, allocations: 1.744 MB / 1.492 GB, free: 9.461 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.5625, allocations: 0.9437 MB / 1.493 GB, free: 8.492 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002759/0.5653, allocations: 0.7609 MB / 1.493 GB, free: 7.742 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.5667, allocations: 0.6341 MB / 1.494 GB, free: 7.105 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004413/0.5672, allocations: 139.9 kB / 1.494 GB, free: 6.969 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002722/0.5699, allocations: 1.053 MB / 1.495 GB, free: 5.914 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005929/0.5705, allocations: 390.8 kB / 1.495 GB, free: 5.531 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.5717, allocations: 0.552 MB / 1.496 GB, free: 4.977 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005003/0.5767, allocations: 2.296 MB / 1.498 GB, free: 2.672 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5767, allocations: 0 / 1.498 GB, free: 2.672 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5767, allocations: 0 / 1.498 GB, free: 2.672 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.876e-05/0.5768, allocations: 0 / 1.498 GB, free: 2.672 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004904/0.5817, allocations: 1.738 MB / 1.5 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.5817, allocations: 12.03 kB / 1.5 GB, free: 0.8828 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.01e-05/0.5818, allocations: 26 kB / 1.5 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.582, allocations: 152.1 kB / 1.5 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/0.5843, allocations: 322.8 kB / 1.5 GB, free: 396 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.586, allocations: 1.033 MB / 1.501 GB, free: 15.32 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.921e-05/0.5861, allocations: 74 kB / 1.502 GB, free: 15.25 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.5862, allocations: 92 kB / 1.502 GB, free: 15.16 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/0.5885, allocations: 1.486 MB / 1.503 GB, free: 13.54 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.5885, allocations: 3.938 kB / 1.503 GB, free: 13.54 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.5886, allocations: 43.98 kB / 1.503 GB, free: 13.5 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.5886, allocations: 31.98 kB / 1.503 GB, free: 13.46 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.591, allocations: 1.315 MB / 1.504 GB, free: 12.15 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005631/0.5966, allocations: 2.763 MB / 1.507 GB, free: 9.32 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.5986, allocations: 0.9776 MB / 1.508 GB, free: 8.344 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007701/0.5994, allocations: 389.8 kB / 1.508 GB, free: 7.957 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.5996, allocations: 56.95 kB / 1.509 GB, free: 7.902 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/0.601, allocations: 0.8397 MB / 1.509 GB, free: 6.988 MB / 1.201 GB Notification: Performance of pre-optimization done (n=95): time 3.316e-06/0.601, allocations: 0 / 1.509 GB, free: 6.988 MB / 1.201 GB Notification: Performance of matching and sorting (n=95): time 0.004444/0.6054, allocations: 1.489 MB / 1.511 GB, free: 5.488 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.6056, allocations: 204.8 kB / 1.511 GB, free: 5.246 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.6072, allocations: 1.052 MB / 1.512 GB, free: 4.184 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.6073, allocations: 45.7 kB / 1.512 GB, free: 4.133 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.6078, allocations: 481.2 kB / 1.513 GB, free: 3.656 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003365/0.6081, allocations: 333.2 kB / 1.513 GB, free: 3.328 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.6085, allocations: 166.6 kB / 1.513 GB, free: 3.156 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.6086, allocations: 338 kB / 1.513 GB, free: 2.82 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007432/0.6094, allocations: 329.8 kB / 1.514 GB, free: 2.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.6104, allocations: 0.6628 MB / 1.514 GB, free: 1.754 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.6119, allocations: 0.7648 MB / 1.515 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.612, allocations: 0 / 1.515 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002819/0.6148, allocations: 1.053 MB / 1.516 GB, free: 15.91 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.6148, allocations: 4 kB / 1.516 GB, free: 15.91 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6148, allocations: 3.938 kB / 1.516 GB, free: 15.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007811/0.6156, allocations: 113.7 kB / 1.516 GB, free: 15.79 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009235/0.6165, allocations: 199.7 kB / 1.516 GB, free: 15.59 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/0.62, allocations: 2.846 MB / 1.519 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.6212, allocations: 108.7 kB / 1.519 GB, free: 12.41 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.631e-05/0.6213, allocations: 35.97 kB / 1.519 GB, free: 12.38 MB / 1.217 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006367/0.6219, allocations: 321.7 kB / 1.52 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.6222, allocations: 111.2 kB / 1.52 GB, free: 11.94 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003116/0.6253, allocations: 1.326 MB / 1.521 GB, free: 10.59 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6253, allocations: 8 kB / 1.521 GB, free: 10.59 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6253, allocations: 4 kB / 1.521 GB, free: 10.58 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.6253, allocations: 3.984 kB / 1.521 GB, free: 10.58 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00459/0.6299, allocations: 2.278 MB / 1.523 GB, free: 8.246 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.6299, allocations: 0 / 1.523 GB, free: 8.246 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008647/0.6308, allocations: 191.8 kB / 1.523 GB, free: 8.059 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005675/0.6314, allocations: 105.5 kB / 1.524 GB, free: 7.949 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/0.6314, allocations: 31.97 kB / 1.524 GB, free: 7.918 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003252/0.6347, allocations: 2.878 MB / 1.526 GB, free: 4.805 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6347, allocations: 0 / 1.526 GB, free: 4.805 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.6376, allocations: 1.241 MB / 1.528 GB, free: 3.539 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006123/0.6382, allocations: 254.8 kB / 1.528 GB, free: 3.289 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.6383, allocations: 20 kB / 1.528 GB, free: 3.27 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008452/0.6392, allocations: 79.92 kB / 1.528 GB, free: 3.191 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.6394, allocations: 92.77 kB / 1.528 GB, free: 3.102 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.6395, allocations: 43.97 kB / 1.528 GB, free: 3.059 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001032/0.6405, allocations: 0.7645 MB / 1.529 GB, free: 2.297 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6405, allocations: 0 / 1.529 GB, free: 2.297 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001461/0.642, allocations: 458.8 kB / 1.529 GB, free: 1.848 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.005451/0.6474, allocations: 2.427 MB / 1.532 GB, free: 15.61 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002545/0.65, allocations: 1.084 MB / 1.533 GB, free: 14.49 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.65, allocations: 4 kB / 1.533 GB, free: 14.49 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.6513, allocations: 0.698 MB / 1.533 GB, free: 13.77 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.6531, allocations: 367 kB / 1.534 GB, free: 13.43 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/0.6684, allocations: 8.451 MB / 1.542 GB, free: 4.832 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/0.669, allocations: 0.5127 MB / 1.542 GB, free: 4.281 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001118/0.6701, allocations: 316 kB / 1.543 GB, free: 3.969 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007435/0.6709, allocations: 475.2 kB / 1.543 GB, free: 3.504 MB / 1.232 GB Notification: Performance of SimCode: time 8.82e-07/0.6709, allocations: 0 / 1.543 GB, free: 3.504 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07593/0.7468, allocations: 30.4 MB / 1.573 GB, free: 5.5 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/15.69, allocations: 10.75 kB / 1.573 GB, free: 5.492 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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: 22.404566843993962]