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.001786/0.001786, allocations: 109.1 kB / 16.46 MB, free: 6.504 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.002179/0.002179, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.459/1.459, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.74/2.74, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 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.002162/0.002162, allocations: 63.91 kB / 1.104 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8695/0.8716, allocations: 168.7 MB / 1.269 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1856/1.057, allocations: 155 MB / 1.42 GB, free: 9.633 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01636/1.074, allocations: 10.59 MB / 1.43 GB, free: 15.01 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/1.075, allocations: 15.94 kB / 1.43 GB, free: 14.99 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/1.076, allocations: 289.6 kB / 1.431 GB, free: 14.71 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003216/1.079, allocations: 0.9906 MB / 1.432 GB, free: 13.72 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002807/1.082, allocations: 1.087 MB / 1.433 GB, free: 12.64 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002137/1.084, allocations: 1.729 MB / 1.434 GB, free: 10.9 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/1.086, allocations: 0.9512 MB / 1.435 GB, free: 9.918 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/1.087, allocations: 0.7341 MB / 1.436 GB, free: 9.191 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007746/1.088, allocations: 0.6341 MB / 1.437 GB, free: 8.555 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/1.088, allocations: 132 kB / 1.437 GB, free: 8.426 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/1.09, allocations: 1.049 MB / 1.438 GB, free: 7.375 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003675/1.091, allocations: 390.8 kB / 1.438 GB, free: 6.992 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006635/1.091, allocations: 0.6763 MB / 1.439 GB, free: 6.312 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003124/1.094, allocations: 2.238 MB / 1.441 GB, free: 4.066 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.094, allocations: 0 / 1.441 GB, free: 4.066 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.883e-06/1.094, allocations: 3.938 kB / 1.441 GB, free: 4.062 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.297e-05/1.094, allocations: 4 kB / 1.441 GB, free: 4.059 MB / 1.139 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.004157/1.099, allocations: 1.78 MB / 1.443 GB, free: 2.223 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.099, allocations: 8.031 kB / 1.443 GB, free: 2.215 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002164/1.099, allocations: 160 kB / 1.443 GB, free: 2.051 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/1.101, allocations: 274.9 kB / 1.443 GB, free: 1.781 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/1.102, allocations: 1.086 MB / 1.444 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.975e-05/1.103, allocations: 70 kB / 1.444 GB, free: 0.582 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/1.103, allocations: 100 kB / 1.444 GB, free: 496 kB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/1.105, allocations: 1.113 MB / 1.446 GB, free: 15.33 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/1.105, allocations: 0 / 1.446 GB, free: 15.33 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.105, allocations: 44 kB / 1.446 GB, free: 15.29 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/1.105, allocations: 20 kB / 1.446 GB, free: 15.27 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/1.107, allocations: 1.319 MB / 1.447 GB, free: 13.95 MB / 1.154 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.006115/1.113, allocations: 3.478 MB / 1.45 GB, free: 10.31 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/1.116, allocations: 1.054 MB / 1.451 GB, free: 9.242 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007807/1.116, allocations: 379.7 kB / 1.452 GB, free: 8.867 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/1.117, allocations: 146 kB / 1.452 GB, free: 8.707 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/1.118, allocations: 0.6177 MB / 1.452 GB, free: 8.066 MB / 1.154 GB Notification: Performance of pre-optimization done (n=95): time 2.665e-06/1.118, allocations: 0 / 1.452 GB, free: 8.066 MB / 1.154 GB Notification: Performance of matching and sorting (n=95): time 0.004674/1.123, allocations: 1.632 MB / 1.454 GB, free: 6.391 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/1.123, allocations: 204.8 kB / 1.454 GB, free: 6.148 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/1.124, allocations: 1.021 MB / 1.455 GB, free: 5.117 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/1.124, allocations: 49.7 kB / 1.455 GB, free: 5.062 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/1.125, allocations: 481.2 kB / 1.456 GB, free: 4.586 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/1.125, allocations: 321.2 kB / 1.456 GB, free: 4.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/1.126, allocations: 170.6 kB / 1.456 GB, free: 4.094 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.126, allocations: 338 kB / 1.457 GB, free: 3.758 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007625/1.126, allocations: 337.8 kB / 1.457 GB, free: 3.43 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009361/1.127, allocations: 469.1 kB / 1.457 GB, free: 2.938 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/1.129, allocations: 0.7648 MB / 1.458 GB, free: 2.16 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.129, allocations: 0 / 1.458 GB, free: 2.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002666/1.132, allocations: 1.045 MB / 1.459 GB, free: 1.102 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.132, allocations: 4 kB / 1.459 GB, free: 1.098 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.132, allocations: 4 kB / 1.459 GB, free: 1.094 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007633/1.132, allocations: 113.7 kB / 1.459 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009275/1.133, allocations: 199.7 kB / 1.459 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/1.137, allocations: 3.068 MB / 1.462 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000995/1.138, allocations: 116.4 kB / 1.462 GB, free: 13.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/1.138, allocations: 35.97 kB / 1.463 GB, free: 13.29 MB / 1.17 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.0005769/1.138, allocations: 317.6 kB / 1.463 GB, free: 12.96 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/1.139, allocations: 107.3 kB / 1.463 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/1.142, allocations: 1.318 MB / 1.464 GB, free: 11.52 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/1.142, allocations: 8 kB / 1.464 GB, free: 11.51 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.142, allocations: 0 / 1.464 GB, free: 11.51 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/1.142, allocations: 3.984 kB / 1.464 GB, free: 11.51 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004544/1.146, allocations: 2.439 MB / 1.467 GB, free: 9.008 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.146, allocations: 4 kB / 1.467 GB, free: 9.004 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008576/1.147, allocations: 187.8 kB / 1.467 GB, free: 8.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005843/1.148, allocations: 113.5 kB / 1.467 GB, free: 8.703 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/1.148, allocations: 27.97 kB / 1.467 GB, free: 8.676 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/1.151, allocations: 3.096 MB / 1.47 GB, free: 5.293 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.151, allocations: 0 / 1.47 GB, free: 5.293 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/1.154, allocations: 1.237 MB / 1.471 GB, free: 4.031 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006161/1.155, allocations: 324 kB / 1.471 GB, free: 3.695 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/1.155, allocations: 27.98 kB / 1.471 GB, free: 3.668 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.156, allocations: 78.55 kB / 1.472 GB, free: 3.594 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/1.156, allocations: 88.81 kB / 1.472 GB, free: 3.508 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/1.156, allocations: 43.97 kB / 1.472 GB, free: 3.465 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001579/1.158, allocations: 0.7489 MB / 1.472 GB, free: 2.719 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.158, allocations: 8 kB / 1.472 GB, free: 2.711 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002097/1.16, allocations: 450.9 kB / 1.473 GB, free: 2.27 MB / 1.17 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.007821/1.168, allocations: 2.41 MB / 1.475 GB, free: 28 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003723/1.172, allocations: 1.08 MB / 1.476 GB, free: 14.92 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.172, allocations: 4.188 kB / 1.476 GB, free: 14.92 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/1.174, allocations: 0.698 MB / 1.477 GB, free: 14.2 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/1.176, allocations: 375.2 kB / 1.477 GB, free: 13.86 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.2, allocations: 8.363 MB / 1.485 GB, free: 5.34 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/1.201, allocations: 1.103 MB / 1.487 GB, free: 4.207 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001861/1.203, allocations: 319.8 kB / 1.487 GB, free: 3.891 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/1.204, allocations: 463.2 kB / 1.487 GB, free: 3.438 MB / 1.186 GB Notification: Performance of SimCode: time 1.082e-06/1.204, allocations: 0 / 1.487 GB, free: 3.438 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07832/1.282, allocations: 28.4 MB / 1.515 GB, free: 7.367 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.97, allocations: 27.53 kB / 1.515 GB, free: 7.348 MB / 1.217 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.16480855597183]