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.001258/0.001258, allocations: 116.8 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.001339/0.001339, allocations: 209.5 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.424/1.424, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.789/2.789, allocations: 0.49 GB / 0.7923 GB, free: 1.352 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_12_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.001987/0.001987, allocations: 67.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8896/0.8916, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1928/1.084, allocations: 157.9 MB / 1.476 GB, free: 5.137 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01666/1.101, allocations: 10.68 MB / 1.486 GB, free: 12.56 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/1.103, allocations: 29.66 kB / 1.486 GB, free: 12.55 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/1.104, allocations: 292.2 kB / 1.486 GB, free: 12.3 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003488/1.107, allocations: 0.9959 MB / 1.487 GB, free: 11.57 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003108/1.11, allocations: 1.11 MB / 1.488 GB, free: 10.75 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002578/1.113, allocations: 1.75 MB / 1.49 GB, free: 9.668 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/1.115, allocations: 0.9402 MB / 1.491 GB, free: 8.984 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/1.117, allocations: 0.7663 MB / 1.492 GB, free: 8.535 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/1.118, allocations: 0.6394 MB / 1.492 GB, free: 8.09 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002567/1.119, allocations: 136.4 kB / 1.493 GB, free: 8.09 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/1.121, allocations: 1.079 MB / 1.494 GB, free: 7.578 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000466/1.122, allocations: 391.1 kB / 1.494 GB, free: 7.281 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009836/1.123, allocations: 0.6881 MB / 1.495 GB, free: 6.777 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004386/1.127, allocations: 2.293 MB / 1.497 GB, free: 5.184 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.127, allocations: 3.938 kB / 1.497 GB, free: 5.18 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.813e-06/1.127, allocations: 0 / 1.497 GB, free: 5.18 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.093e-05/1.127, allocations: 1.031 kB / 1.497 GB, free: 5.18 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.004019/1.131, allocations: 1.809 MB / 1.499 GB, free: 3.777 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.131, allocations: 13.08 kB / 1.499 GB, free: 3.773 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.41e-05/1.131, allocations: 28.62 kB / 1.499 GB, free: 3.762 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001979/1.131, allocations: 156.1 kB / 1.499 GB, free: 3.602 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00241/1.134, allocations: 326.8 kB / 1.499 GB, free: 3.281 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/1.136, allocations: 1.098 MB / 1.5 GB, free: 2.141 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/1.136, allocations: 70 kB / 1.5 GB, free: 2.074 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/1.136, allocations: 96 kB / 1.5 GB, free: 1.98 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/1.138, allocations: 1.106 MB / 1.502 GB, free: 0.832 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/1.138, allocations: 3.938 kB / 1.502 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.138, allocations: 48 kB / 1.502 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/1.138, allocations: 24 kB / 1.502 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/1.141, allocations: 1.311 MB / 1.503 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006123/1.147, allocations: 3.524 MB / 1.506 GB, free: 11.75 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/1.149, allocations: 1.051 MB / 1.507 GB, free: 10.68 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000787/1.15, allocations: 398.2 kB / 1.508 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/1.15, allocations: 130.1 kB / 1.508 GB, free: 10.14 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/1.151, allocations: 0.6254 MB / 1.508 GB, free: 9.496 MB / 1.186 GB Notification: Performance of pre-optimization done (n=95): time 2.875e-06/1.151, allocations: 0 / 1.508 GB, free: 9.496 MB / 1.186 GB Notification: Performance of matching and sorting (n=95): time 0.00455/1.156, allocations: 1.636 MB / 1.51 GB, free: 7.816 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/1.156, allocations: 204.8 kB / 1.51 GB, free: 7.57 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/1.157, allocations: 1.04 MB / 1.511 GB, free: 6.52 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001621/1.157, allocations: 49.64 kB / 1.511 GB, free: 6.465 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000462/1.158, allocations: 489.2 kB / 1.512 GB, free: 5.98 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/1.158, allocations: 321.2 kB / 1.512 GB, free: 5.664 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/1.159, allocations: 170.6 kB / 1.512 GB, free: 5.492 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.159, allocations: 341.9 kB / 1.513 GB, free: 5.152 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007638/1.159, allocations: 329.8 kB / 1.513 GB, free: 4.832 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009029/1.16, allocations: 477 kB / 1.513 GB, free: 4.324 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/1.162, allocations: 0.7609 MB / 1.514 GB, free: 3.555 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.162, allocations: 0 / 1.514 GB, free: 3.555 MB / 1.186 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002766/1.165, allocations: 1.049 MB / 1.515 GB, free: 2.492 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/1.165, allocations: 6.031 kB / 1.515 GB, free: 2.488 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.165, allocations: 0 / 1.515 GB, free: 2.488 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007807/1.166, allocations: 117.6 kB / 1.515 GB, free: 2.367 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009308/1.166, allocations: 195.7 kB / 1.515 GB, free: 2.176 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/1.17, allocations: 3.066 MB / 1.518 GB, free: 14.83 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.171, allocations: 119.5 kB / 1.519 GB, free: 14.71 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/1.171, allocations: 35.98 kB / 1.519 GB, free: 14.68 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.0006016/1.172, allocations: 309.5 kB / 1.519 GB, free: 14.36 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/1.172, allocations: 107.3 kB / 1.519 GB, free: 14.26 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/1.175, allocations: 1.326 MB / 1.52 GB, free: 12.91 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/1.175, allocations: 8 kB / 1.52 GB, free: 12.91 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.175, allocations: 0 / 1.52 GB, free: 12.91 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.175, allocations: 7.984 kB / 1.52 GB, free: 12.9 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004698/1.18, allocations: 2.47 MB / 1.523 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.18, allocations: 0 / 1.523 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/1.181, allocations: 187.7 kB / 1.523 GB, free: 10.18 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005855/1.181, allocations: 113.5 kB / 1.523 GB, free: 10.06 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.112e-05/1.181, allocations: 23.98 kB / 1.523 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003142/1.184, allocations: 3.093 MB / 1.526 GB, free: 6.656 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.184, allocations: 0 / 1.526 GB, free: 6.656 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/1.187, allocations: 1.245 MB / 1.527 GB, free: 5.391 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/1.188, allocations: 328 kB / 1.528 GB, free: 5.051 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/1.188, allocations: 24 kB / 1.528 GB, free: 5.027 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00087/1.189, allocations: 79.91 kB / 1.528 GB, free: 4.949 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/1.189, allocations: 84.83 kB / 1.528 GB, free: 4.867 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/1.189, allocations: 43.97 kB / 1.528 GB, free: 4.824 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001017/1.19, allocations: 0.7645 MB / 1.529 GB, free: 4.066 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/1.19, allocations: 0 / 1.529 GB, free: 4.066 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00135/1.192, allocations: 458.9 kB / 1.529 GB, free: 3.617 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.005238/1.197, allocations: 2.394 MB / 1.531 GB, free: 1.371 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002397/1.199, allocations: 1.08 MB / 1.532 GB, free: 276 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.199, allocations: 0 / 1.532 GB, free: 276 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.201, allocations: 0.7136 MB / 1.533 GB, free: 15.53 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/1.202, allocations: 355.1 kB / 1.533 GB, free: 15.2 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.217, allocations: 8.441 MB / 1.542 GB, free: 6.605 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000783/1.218, allocations: 1.111 MB / 1.543 GB, free: 5.461 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001065/1.219, allocations: 312 kB / 1.543 GB, free: 5.152 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007069/1.22, allocations: 475.2 kB / 1.543 GB, free: 4.691 MB / 1.217 GB Notification: Performance of SimCode: time 8.92e-07/1.22, allocations: 0 / 1.543 GB, free: 4.691 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06829/1.288, allocations: 28.72 MB / 1.571 GB, free: 8.277 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/15.32, allocations: 12 kB / 1.572 GB, free: 8.266 MB / 1.248 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.681348957004957]