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.001543/0.001543, allocations: 116.1 kB / 17.17 MB, free: 6 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.001643/0.001643, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.441/1.441, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.936/2.936, allocations: 0.5003 GB / 0.8026 GB, free: 6.672 MB / 0.6387 GB " [Timeout remaining time 176] 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.002119/0.002119, allocations: 59.91 kB / 1.165 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8876/0.8897, allocations: 179 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.2004/1.09, allocations: 157.9 MB / 1.494 GB, free: 9.102 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01744/1.108, allocations: 10.67 MB / 1.505 GB, free: 15.6 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/1.109, allocations: 31.75 kB / 1.505 GB, free: 15.57 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/1.11, allocations: 289.6 kB / 1.505 GB, free: 15.28 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003973/1.114, allocations: 1.001 MB / 1.506 GB, free: 14.28 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003248/1.118, allocations: 1.113 MB / 1.507 GB, free: 13.18 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002624/1.12, allocations: 1.733 MB / 1.509 GB, free: 11.44 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/1.122, allocations: 0.9605 MB / 1.51 GB, free: 10.45 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/1.124, allocations: 0.7511 MB / 1.51 GB, free: 9.711 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/1.125, allocations: 0.638 MB / 1.511 GB, free: 9.07 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003846/1.126, allocations: 136 kB / 1.511 GB, free: 8.938 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/1.128, allocations: 1.081 MB / 1.512 GB, free: 7.855 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005573/1.129, allocations: 398.7 kB / 1.513 GB, free: 7.465 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009812/1.13, allocations: 0.6841 MB / 1.513 GB, free: 6.777 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004106/1.134, allocations: 2.292 MB / 1.516 GB, free: 4.477 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.134, allocations: 0 / 1.516 GB, free: 4.477 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.513e-06/1.134, allocations: 0 / 1.516 GB, free: 4.477 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.85e-05/1.134, allocations: 3.938 kB / 1.516 GB, free: 4.473 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.004424/1.138, allocations: 1.805 MB / 1.517 GB, free: 2.609 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/1.139, allocations: 16.03 kB / 1.517 GB, free: 2.594 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.65e-05/1.139, allocations: 26 kB / 1.517 GB, free: 2.57 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004117/1.139, allocations: 152.1 kB / 1.518 GB, free: 2.414 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/1.142, allocations: 318.8 kB / 1.518 GB, free: 2.102 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/1.144, allocations: 1.098 MB / 1.519 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.319e-05/1.144, allocations: 78 kB / 1.519 GB, free: 0.8828 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/1.144, allocations: 92 kB / 1.519 GB, free: 0.793 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/1.146, allocations: 1.106 MB / 1.52 GB, free: 15.65 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/1.146, allocations: 0 / 1.52 GB, free: 15.65 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/1.147, allocations: 44 kB / 1.52 GB, free: 15.61 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/1.147, allocations: 27.94 kB / 1.52 GB, free: 15.58 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002673/1.149, allocations: 1.315 MB / 1.522 GB, free: 14.26 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006725/1.156, allocations: 3.542 MB / 1.525 GB, free: 10.55 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/1.158, allocations: 1.056 MB / 1.526 GB, free: 9.477 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000877/1.159, allocations: 388 kB / 1.526 GB, free: 9.098 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/1.159, allocations: 142 kB / 1.527 GB, free: 8.941 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/1.161, allocations: 0.6138 MB / 1.527 GB, free: 8.309 MB / 1.201 GB Notification: Performance of pre-optimization done (n=95): time 2.755e-06/1.161, allocations: 0 / 1.527 GB, free: 8.309 MB / 1.201 GB Notification: Performance of matching and sorting (n=95): time 0.00474/1.165, allocations: 1.64 MB / 1.529 GB, free: 6.621 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.166, allocations: 200.9 kB / 1.529 GB, free: 6.379 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/1.167, allocations: 1.044 MB / 1.53 GB, free: 5.324 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001884/1.167, allocations: 49.7 kB / 1.53 GB, free: 5.27 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/1.168, allocations: 485.2 kB / 1.53 GB, free: 4.789 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/1.168, allocations: 325.2 kB / 1.531 GB, free: 4.469 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/1.169, allocations: 170.6 kB / 1.531 GB, free: 4.297 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.169, allocations: 337.9 kB / 1.531 GB, free: 3.961 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008166/1.17, allocations: 333.8 kB / 1.532 GB, free: 3.637 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009884/1.171, allocations: 481 kB / 1.532 GB, free: 3.129 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/1.172, allocations: 0.757 MB / 1.533 GB, free: 2.363 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.172, allocations: 0 / 1.533 GB, free: 2.363 MB / 1.201 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002931/1.175, allocations: 1.045 MB / 1.534 GB, free: 1.301 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.175, allocations: 4 kB / 1.534 GB, free: 1.297 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.175, allocations: 8 kB / 1.534 GB, free: 1.289 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007701/1.176, allocations: 117.6 kB / 1.534 GB, free: 1.168 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009588/1.177, allocations: 199.7 kB / 1.534 GB, free: 0.9727 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/1.181, allocations: 3.061 MB / 1.537 GB, free: 13.63 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/1.182, allocations: 109.3 kB / 1.537 GB, free: 13.52 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/1.182, allocations: 39.97 kB / 1.537 GB, free: 13.48 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.0006479/1.183, allocations: 309.5 kB / 1.537 GB, free: 13.17 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/1.183, allocations: 115.3 kB / 1.538 GB, free: 13.06 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/1.186, allocations: 1.326 MB / 1.539 GB, free: 11.71 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/1.186, allocations: 8 kB / 1.539 GB, free: 11.7 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.186, allocations: 3.984 kB / 1.539 GB, free: 11.7 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/1.186, allocations: 7.984 kB / 1.539 GB, free: 11.69 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/1.191, allocations: 2.466 MB / 1.541 GB, free: 9.164 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.191, allocations: 4 kB / 1.541 GB, free: 9.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008509/1.192, allocations: 191.8 kB / 1.542 GB, free: 8.973 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005823/1.193, allocations: 105.6 kB / 1.542 GB, free: 8.863 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/1.193, allocations: 31.91 kB / 1.542 GB, free: 8.832 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003172/1.196, allocations: 3.093 MB / 1.545 GB, free: 5.457 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.196, allocations: 0 / 1.545 GB, free: 5.457 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/1.199, allocations: 1.241 MB / 1.546 GB, free: 4.191 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/1.199, allocations: 328 kB / 1.546 GB, free: 3.852 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/1.199, allocations: 23.98 kB / 1.546 GB, free: 3.828 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008613/1.2, allocations: 75.92 kB / 1.546 GB, free: 3.754 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/1.201, allocations: 88.81 kB / 1.546 GB, free: 3.668 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.201, allocations: 43.97 kB / 1.546 GB, free: 3.625 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001059/1.202, allocations: 0.7684 MB / 1.547 GB, free: 2.859 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.202, allocations: 0 / 1.547 GB, free: 2.859 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001421/1.203, allocations: 454.9 kB / 1.548 GB, free: 2.414 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.005465/1.209, allocations: 2.384 MB / 1.55 GB, free: 180 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002578/1.211, allocations: 1.08 MB / 1.551 GB, free: 15.07 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.211, allocations: 0 / 1.551 GB, free: 15.07 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/1.213, allocations: 0.7059 MB / 1.552 GB, free: 14.34 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/1.214, allocations: 369.3 kB / 1.552 GB, free: 14.01 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/1.23, allocations: 8.433 MB / 1.56 GB, free: 5.422 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008155/1.231, allocations: 1.111 MB / 1.561 GB, free: 4.277 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001076/1.232, allocations: 324 kB / 1.562 GB, free: 3.957 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007724/1.233, allocations: 475.2 kB / 1.562 GB, free: 3.492 MB / 1.232 GB Notification: Performance of SimCode: time 9.92e-07/1.233, allocations: 0 / 1.562 GB, free: 3.492 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07066/1.303, allocations: 28.74 MB / 1.59 GB, free: 7.094 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.63, allocations: 4.062 kB / 1.59 GB, free: 7.09 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.207907732052263]