Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 106.2 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 469.8 MB / 0.7491 GB, free: 2.969 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 1.073 GB, free: 80 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8337/0.8357, allocations: 159.1 MB / 1.229 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1765/1.012, allocations: 154.5 MB / 1.38 GB, free: 9.711 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01603/1.028, allocations: 10.53 MB / 1.39 GB, free: 15.15 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/1.03, allocations: 19.94 kB / 1.39 GB, free: 15.13 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/1.031, allocations: 285.6 kB / 1.39 GB, free: 14.85 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003739/1.035, allocations: 0.967 MB / 1.391 GB, free: 13.88 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003257/1.038, allocations: 1.094 MB / 1.392 GB, free: 12.8 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002825/1.041, allocations: 1.737 MB / 1.394 GB, free: 11.05 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/1.043, allocations: 1.15 MB / 1.395 GB, free: 9.867 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/1.045, allocations: 0.7128 MB / 1.396 GB, free: 9.164 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000998/1.046, allocations: 0.6224 MB / 1.396 GB, free: 8.539 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002584/1.046, allocations: 136 kB / 1.396 GB, free: 8.406 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/1.048, allocations: 1.026 MB / 1.397 GB, free: 7.379 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000429/1.049, allocations: 386.8 kB / 1.398 GB, free: 7 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008961/1.05, allocations: 0.6762 MB / 1.398 GB, free: 6.32 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003929/1.054, allocations: 2.234 MB / 1.401 GB, free: 4.078 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.054, allocations: 3.984 kB / 1.401 GB, free: 4.074 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.943e-06/1.054, allocations: 0 / 1.401 GB, free: 4.074 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.477e-05/1.054, allocations: 0 / 1.401 GB, free: 4.074 MB / 1.107 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.003564/1.057, allocations: 1.79 MB / 1.402 GB, free: 2.227 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.057, allocations: 8.031 kB / 1.402 GB, free: 2.219 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/1.058, allocations: 156 kB / 1.402 GB, free: 2.059 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/1.059, allocations: 282.9 kB / 1.403 GB, free: 1.781 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/1.061, allocations: 1.078 MB / 1.404 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/1.061, allocations: 85.97 kB / 1.404 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/1.061, allocations: 92 kB / 1.404 GB, free: 496 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/1.063, allocations: 1.106 MB / 1.405 GB, free: 15.34 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/1.063, allocations: 0 / 1.405 GB, free: 15.34 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/1.064, allocations: 43.98 kB / 1.405 GB, free: 15.29 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/1.064, allocations: 24 kB / 1.405 GB, free: 15.27 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/1.066, allocations: 1.319 MB / 1.406 GB, free: 13.95 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005997/1.072, allocations: 3.481 MB / 1.41 GB, free: 10.32 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/1.074, allocations: 1.102 MB / 1.411 GB, free: 9.195 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008527/1.075, allocations: 419.7 kB / 1.411 GB, free: 8.781 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/1.075, allocations: 142 kB / 1.411 GB, free: 8.625 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/1.077, allocations: 0.6138 MB / 1.412 GB, free: 7.988 MB / 1.123 GB Notification: Performance of pre-optimization done (n=95): time 2.735e-06/1.077, allocations: 0 / 1.412 GB, free: 7.988 MB / 1.123 GB Notification: Performance of matching and sorting (n=95): time 0.00443/1.081, allocations: 1.636 MB / 1.414 GB, free: 6.309 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/1.081, allocations: 204.8 kB / 1.414 GB, free: 6.066 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/1.083, allocations: 1.017 MB / 1.415 GB, free: 5.039 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001528/1.083, allocations: 53.64 kB / 1.415 GB, free: 4.98 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/1.083, allocations: 477.2 kB / 1.415 GB, free: 4.508 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/1.084, allocations: 325.2 kB / 1.416 GB, free: 4.188 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/1.084, allocations: 170.6 kB / 1.416 GB, free: 4.012 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.084, allocations: 337.9 kB / 1.416 GB, free: 3.676 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000781/1.085, allocations: 333.8 kB / 1.416 GB, free: 3.352 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008929/1.086, allocations: 473.1 kB / 1.417 GB, free: 2.855 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/1.088, allocations: 0.7648 MB / 1.418 GB, free: 2.078 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/1.088, allocations: 4 kB / 1.418 GB, free: 2.074 MB / 1.123 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002818/1.09, allocations: 1.037 MB / 1.419 GB, free: 1.023 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/1.09, allocations: 8 kB / 1.419 GB, free: 1.016 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.09, allocations: 4.062 kB / 1.419 GB, free: 1.012 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008559/1.091, allocations: 117.5 kB / 1.419 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000941/1.092, allocations: 199.7 kB / 1.419 GB, free: 0.6953 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/1.096, allocations: 3.076 MB / 1.422 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/1.097, allocations: 107.4 kB / 1.422 GB, free: 13.23 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.097, allocations: 31.98 kB / 1.422 GB, free: 13.2 MB / 1.139 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.000643/1.098, allocations: 317.5 kB / 1.422 GB, free: 12.88 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/1.098, allocations: 111.3 kB / 1.423 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/1.102, allocations: 1.314 MB / 1.424 GB, free: 11.44 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/1.102, allocations: 12 kB / 1.424 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.102, allocations: 0 / 1.424 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/1.102, allocations: 3.984 kB / 1.424 GB, free: 11.42 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004777/1.106, allocations: 2.443 MB / 1.426 GB, free: 8.918 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/1.107, allocations: 0 / 1.426 GB, free: 8.918 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008734/1.107, allocations: 191.7 kB / 1.426 GB, free: 8.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005877/1.108, allocations: 109.6 kB / 1.426 GB, free: 8.617 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.984e-05/1.108, allocations: 31.91 kB / 1.427 GB, free: 8.586 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003298/1.111, allocations: 3.101 MB / 1.43 GB, free: 5.199 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.111, allocations: 3.984 kB / 1.43 GB, free: 5.195 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/1.114, allocations: 1.241 MB / 1.431 GB, free: 3.93 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005569/1.115, allocations: 328 kB / 1.431 GB, free: 3.59 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/1.115, allocations: 28 kB / 1.431 GB, free: 3.562 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008437/1.116, allocations: 78.14 kB / 1.431 GB, free: 3.488 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/1.116, allocations: 84.83 kB / 1.431 GB, free: 3.406 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.116, allocations: 43.97 kB / 1.431 GB, free: 3.363 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001009/1.117, allocations: 0.7528 MB / 1.432 GB, free: 2.613 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.117, allocations: 0 / 1.432 GB, free: 2.613 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001263/1.119, allocations: 454.9 kB / 1.432 GB, free: 2.168 MB / 1.139 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.005251/1.124, allocations: 2.404 MB / 1.435 GB, free: 15.93 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002382/1.126, allocations: 1.111 MB / 1.436 GB, free: 14.8 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.126, allocations: 8.188 kB / 1.436 GB, free: 14.79 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/1.128, allocations: 0.7332 MB / 1.437 GB, free: 14.03 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/1.129, allocations: 372.7 kB / 1.437 GB, free: 13.7 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.144, allocations: 8.369 MB / 1.445 GB, free: 5.172 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/1.145, allocations: 1.099 MB / 1.446 GB, free: 4.043 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001106/1.146, allocations: 323.8 kB / 1.447 GB, free: 3.723 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007081/1.147, allocations: 463.2 kB / 1.447 GB, free: 3.27 MB / 1.154 GB Notification: Performance of SimCode: time 1.032e-06/1.147, allocations: 3.938 kB / 1.447 GB, free: 3.266 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07299/1.22, allocations: 28.25 MB / 1.475 GB, free: 7.379 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/16.01, allocations: 18.48 kB / 1.475 GB, free: 7.363 MB / 1.186 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.281149917980656]