Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001284/0.001284, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001373/0.001373, allocations: 217.2 kB / 22.25 MB, free: 4.855 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.389/1.389, allocations: 230.6 MB / 256 MB, free: 7.797 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 2.997/2.997, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 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.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",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.002037/0.002037, allocations: 71.64 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2918, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.161/0.4528, allocations: 135.9 MB / 1.458 GB, free: 9.957 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.4676, allocations: 9.938 MB / 1.467 GB, free: 15.99 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008823/0.4684, allocations: 35.69 kB / 1.468 GB, free: 15.95 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.4694, allocations: 285.6 kB / 1.468 GB, free: 15.68 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.4726, allocations: 1.008 MB / 1.469 GB, free: 14.67 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.4754, allocations: 1.103 MB / 1.47 GB, free: 13.57 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002279/0.4776, allocations: 1.748 MB / 1.472 GB, free: 11.82 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.4792, allocations: 0.9241 MB / 1.472 GB, free: 10.86 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.4813, allocations: 0.7672 MB / 1.473 GB, free: 10.1 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009825/0.4822, allocations: 0.5794 MB / 1.474 GB, free: 9.52 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002949/0.4825, allocations: 136 kB / 1.474 GB, free: 9.387 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.4847, allocations: 1.018 MB / 1.475 GB, free: 8.367 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004341/0.4851, allocations: 390.8 kB / 1.475 GB, free: 7.984 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000736/0.4859, allocations: 0.5559 MB / 1.476 GB, free: 7.426 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003256/0.4891, allocations: 2.296 MB / 1.478 GB, free: 5.121 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4891, allocations: 0 / 1.478 GB, free: 5.121 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4891, allocations: 0 / 1.478 GB, free: 5.121 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.339e-05/0.4891, allocations: 0 / 1.478 GB, free: 5.121 MB / 1.17 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.00303/0.4922, allocations: 1.73 MB / 1.48 GB, free: 3.355 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4922, allocations: 8.031 kB / 1.48 GB, free: 3.348 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.4924, allocations: 156.1 kB / 1.48 GB, free: 3.188 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.4945, allocations: 322.8 kB / 1.48 GB, free: 2.871 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.4961, allocations: 1.037 MB / 1.481 GB, free: 1.805 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/0.4961, allocations: 74 kB / 1.481 GB, free: 1.73 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.4963, allocations: 92 kB / 1.481 GB, free: 1.641 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.4983, allocations: 1.486 MB / 1.483 GB, free: 24 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.4984, allocations: 0 / 1.483 GB, free: 24 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.4985, allocations: 44.08 kB / 1.483 GB, free: 15.98 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.4985, allocations: 24 kB / 1.483 GB, free: 15.95 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.5007, allocations: 1.276 MB / 1.484 GB, free: 14.67 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004887/0.5056, allocations: 2.767 MB / 1.487 GB, free: 11.85 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.5075, allocations: 0.9663 MB / 1.488 GB, free: 10.88 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007491/0.5082, allocations: 397.1 kB / 1.488 GB, free: 10.48 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.5084, allocations: 52.89 kB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.5096, allocations: 0.8475 MB / 1.489 GB, free: 9.508 MB / 1.186 GB Notification: Performance of pre-optimization done (n=95): time 4.819e-06/0.5097, allocations: 4 kB / 1.489 GB, free: 9.504 MB / 1.186 GB Notification: Performance of matching and sorting (n=95): time 0.00402/0.5137, allocations: 1.481 MB / 1.49 GB, free: 8.016 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.5138, allocations: 204.9 kB / 1.491 GB, free: 7.773 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.5151, allocations: 1.048 MB / 1.492 GB, free: 6.719 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-05/0.5152, allocations: 53.62 kB / 1.492 GB, free: 6.66 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.5156, allocations: 485.2 kB / 1.492 GB, free: 6.18 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.5159, allocations: 321.3 kB / 1.493 GB, free: 5.863 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.5161, allocations: 166.6 kB / 1.493 GB, free: 5.691 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5163, allocations: 341.9 kB / 1.493 GB, free: 5.352 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006949/0.517, allocations: 329.8 kB / 1.493 GB, free: 5.031 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009667/0.5179, allocations: 0.6666 MB / 1.494 GB, free: 4.277 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.5194, allocations: 0.7687 MB / 1.495 GB, free: 3.496 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5194, allocations: 0 / 1.495 GB, free: 3.496 MB / 1.186 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002451/0.5219, allocations: 1.041 MB / 1.496 GB, free: 2.445 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5219, allocations: 8 kB / 1.496 GB, free: 2.438 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5219, allocations: 3.938 kB / 1.496 GB, free: 2.434 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000715/0.5226, allocations: 117.7 kB / 1.496 GB, free: 2.312 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008557/0.5235, allocations: 195.8 kB / 1.496 GB, free: 2.121 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/0.5267, allocations: 2.859 MB / 1.499 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008585/0.5275, allocations: 111.5 kB / 1.499 GB, free: 14.91 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.12e-05/0.5276, allocations: 35.98 kB / 1.499 GB, free: 14.88 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 (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.0005276/0.5281, allocations: 301.6 kB / 1.499 GB, free: 14.57 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.5283, allocations: 115.3 kB / 1.499 GB, free: 14.46 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/0.5313, allocations: 1.318 MB / 1.501 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.5313, allocations: 12 kB / 1.501 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5313, allocations: 0 / 1.501 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.5313, allocations: 7.969 kB / 1.501 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/0.5355, allocations: 2.274 MB / 1.503 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.5355, allocations: 0 / 1.503 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.5363, allocations: 187.8 kB / 1.503 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000546/0.5368, allocations: 113.5 kB / 1.503 GB, free: 10.47 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.5369, allocations: 31.92 kB / 1.503 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002924/0.5398, allocations: 2.878 MB / 1.506 GB, free: 7.328 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5398, allocations: 0 / 1.506 GB, free: 7.328 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.5424, allocations: 1.245 MB / 1.507 GB, free: 6.062 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005645/0.543, allocations: 254.9 kB / 1.508 GB, free: 5.812 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.5431, allocations: 16 kB / 1.508 GB, free: 5.797 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007913/0.5439, allocations: 79.97 kB / 1.508 GB, free: 5.719 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.5441, allocations: 88.78 kB / 1.508 GB, free: 5.633 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/0.5442, allocations: 47.97 kB / 1.508 GB, free: 5.586 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009358/0.5451, allocations: 0.7684 MB / 1.508 GB, free: 4.82 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5451, allocations: 4 kB / 1.508 GB, free: 4.816 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001124/0.5462, allocations: 458.8 kB / 1.509 GB, free: 4.367 MB / 1.201 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.004995/0.5512, allocations: 2.433 MB / 1.511 GB, free: 2.117 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002193/0.5534, allocations: 1.076 MB / 1.512 GB, free: 1.016 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5534, allocations: 4 kB / 1.512 GB, free: 1.012 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.5546, allocations: 0.7059 MB / 1.513 GB, free: 284 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.5561, allocations: 354.1 kB / 1.513 GB, free: 15.95 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.5696, allocations: 8.446 MB / 1.522 GB, free: 7.367 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.5701, allocations: 0.5127 MB / 1.522 GB, free: 6.816 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009945/0.5711, allocations: 328 kB / 1.522 GB, free: 6.492 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006706/0.5718, allocations: 475.2 kB / 1.523 GB, free: 6.031 MB / 1.217 GB Notification: Performance of SimCode: time 8.71e-07/0.5718, allocations: 0 / 1.523 GB, free: 6.031 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07871/0.6505, allocations: 30.6 MB / 1.553 GB, free: 7.824 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.57, allocations: 11.66 kB / 1.553 GB, free: 7.816 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable winDir.y in file Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable winDir.y from file Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! Error: Could not read variable weaDat.winSpe in file Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable weaDat.winSpe from file Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.05383960530162]