Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.001165/0.001165, allocations: 106.8 kB / 17.54 MB, free: 4.781 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.001196/0.001196, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 179] 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.593/2.593, allocations: 476.7 MB / 0.7628 GB, free: 15.2 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.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.89 kB / 1.107 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7822/0.7841, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001383/0.7855, allocations: 0.5636 MB / 1.272 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 3.171e-05/0.7856, allocations: 0.8438 kB / 1.272 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.7856, allocations: 0.7812 kB / 1.272 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.7856, allocations: 3.938 kB / 1.272 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 1.881e-05/0.7856, allocations: 0 / 1.272 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 2.779e-05/0.7856, allocations: 5.484 kB / 1.272 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.423e-05/0.7857, allocations: 1.531 kB / 1.272 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.7857, allocations: 1.812 kB / 1.272 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.057e-05/0.7857, allocations: 1.438 kB / 1.272 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.583e-05/0.7858, allocations: 10.33 kB / 1.272 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.7858, allocations: 0 / 1.272 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.178e-06/0.7858, allocations: 0.7812 kB / 1.272 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.7858, allocations: 4.5 kB / 1.272 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.616e-05/0.7858, allocations: 2.797 kB / 1.272 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 4.708e-05/0.7858, allocations: 6.797 kB / 1.272 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7858, allocations: 0 / 1.272 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7859, allocations: 3.938 kB / 1.272 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.7859, allocations: 1.031 kB / 1.272 GB, free: 7.379 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001946/0.786, allocations: 314 kB / 1.272 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.7861, allocations: 10.25 kB / 1.272 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.784e-05/0.7861, allocations: 31.64 kB / 1.272 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.599e-05/0.7861, allocations: 1.969 kB / 1.272 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.956e-05/0.7862, allocations: 161.1 kB / 1.272 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-06/0.7862, allocations: 5 kB / 1.272 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.7862, allocations: 2.344 kB / 1.272 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.798e-05/0.7862, allocations: 31.42 kB / 1.273 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.7863, allocations: 5.922 kB / 1.273 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-06/0.7863, allocations: 0 / 1.273 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.7863, allocations: 4 kB / 1.273 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.158e-05/0.7863, allocations: 1.75 kB / 1.273 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.7864, allocations: 378.2 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.572e-05/0.7865, allocations: 175.2 kB / 1.273 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.151e-05/0.7865, allocations: 80.14 kB / 1.273 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.7865, allocations: 80.09 kB / 1.273 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.7865, allocations: 107.2 kB / 1.273 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.7865, allocations: 0 / 1.273 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.394e-05/0.7866, allocations: 31.94 kB / 1.273 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.7866, allocations: 126.7 kB / 1.273 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.881e-05/0.7866, allocations: 102.9 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-06/0.7866, allocations: 26.42 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.029e-05/0.7867, allocations: 80.83 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-06/0.7867, allocations: 0 / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.7867, allocations: 11.91 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.978e-05/0.7867, allocations: 312.3 kB / 1.274 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-06/0.7867, allocations: 0 / 1.274 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-06/0.7867, allocations: 0 / 1.274 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.869e-06/0.7867, allocations: 76.36 kB / 1.274 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.7867, allocations: 88.03 kB / 1.274 GB, free: 5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.458e-05/0.7868, allocations: 28.61 kB / 1.274 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.7868, allocations: 81.34 kB / 1.274 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.7868, allocations: 84.5 kB / 1.274 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.7868, allocations: 151.8 kB / 1.274 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-06/0.7868, allocations: 84.92 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.7868, allocations: 152.2 kB / 1.275 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.7869, allocations: 84.84 kB / 1.275 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.7869, allocations: 80.48 kB / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.7869, allocations: 266.4 kB / 1.275 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.787, allocations: 103.6 kB / 1.275 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.778e-05/0.787, allocations: 109.9 kB / 1.275 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.787, allocations: 181.7 kB / 1.275 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-05/0.7871, allocations: 182.4 kB / 1.276 GB, free: 19.42 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.598e-05/0.7872, allocations: 181.9 kB / 1.276 GB, free: 19.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.7874, allocations: 401.7 kB / 1.276 GB, free: 18.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.791e-05/0.7874, allocations: 105.6 kB / 1.276 GB, free: 18.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.7875, allocations: 110.9 kB / 1.276 GB, free: 18.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.567e-05/0.7875, allocations: 182 kB / 1.277 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/0.7876, allocations: 182.3 kB / 1.277 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.626e-05/0.7877, allocations: 181.8 kB / 1.277 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-05/0.7877, allocations: 181.5 kB / 1.277 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.7879, allocations: 317.5 kB / 1.277 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.7879, allocations: 181.1 kB / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.308e-05/0.788, allocations: 178.6 kB / 1.278 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.7881, allocations: 110.2 kB / 1.278 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.7882, allocations: 178 kB / 1.278 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.7882, allocations: 110.2 kB / 1.278 GB, free: 16.72 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.7882, allocations: 82.12 kB / 1.278 GB, free: 16.64 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.7882, allocations: 0.6562 kB / 1.278 GB, free: 16.64 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002279/0.7885, allocations: 0.7812 kB / 1.278 GB, free: 16.64 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004015/0.7889, allocations: 0.8094 MB / 1.279 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 3.087e-05/0.7889, allocations: 5.406 kB / 1.279 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.7889, allocations: 0 / 1.279 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.7889, allocations: 1.219 kB / 1.279 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.7892, allocations: 457.8 kB / 1.279 GB, free: 15.37 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/0.7902, allocations: 1.531 MB / 1.281 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.7904, allocations: 0.6713 MB / 1.282 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.881e-06/0.7904, allocations: 0.8125 kB / 1.282 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.7905, allocations: 8.188 kB / 1.282 GB, free: 13.09 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.7905, allocations: 3.938 kB / 1.282 GB, free: 13.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.8124, allocations: 0.8853 MB / 1.282 GB, free: 12.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/7.697, allocations: 8.984 kB / 1.282 GB, free: 12.75 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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: 13.158575544999621]