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.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.002143/0.002143, allocations: 115.5 kB / 17.16 MB, free: 5.895 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.002496/0.002496, allocations: 215 kB / 20.13 MB, free: 2.949 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.585/1.585, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.99/2.99, allocations: 476.7 MB / 0.7678 GB, free: 9.359 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="cs",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="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.00213/0.00213, allocations: 63.86 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.126, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001893/1.128, allocations: 0.5513 MB / 1.279 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 4.05e-05/1.128, allocations: 5.672 kB / 1.279 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/1.128, allocations: 0 / 1.279 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/1.128, allocations: 0 / 1.279 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.39e-05/1.128, allocations: 0.75 kB / 1.279 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.211e-05/1.128, allocations: 0 / 1.279 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.287e-05/1.128, allocations: 6.281 kB / 1.279 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/1.128, allocations: 2.188 kB / 1.279 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.281e-05/1.128, allocations: 4.609 kB / 1.28 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.732e-05/1.128, allocations: 1.062 kB / 1.28 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/1.128, allocations: 3.938 kB / 1.28 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-06/1.128, allocations: 0 / 1.28 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/1.128, allocations: 1.094 kB / 1.28 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/1.128, allocations: 0 / 1.28 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.346e-05/1.128, allocations: 14.75 kB / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.128, allocations: 1.125 kB / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/1.128, allocations: 0 / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.239e-06/1.128, allocations: 0 / 1.28 GB, free: 11.36 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.0003631/1.128, allocations: 317.2 kB / 1.28 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.128, allocations: 9.344 kB / 1.28 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.669e-05/1.128, allocations: 1.188 kB / 1.28 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/1.129, allocations: 31.55 kB / 1.28 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.004e-05/1.129, allocations: 1.969 kB / 1.28 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/1.129, allocations: 162.3 kB / 1.28 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/1.129, allocations: 4.375 kB / 1.28 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-06/1.129, allocations: 1.594 kB / 1.28 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/1.129, allocations: 35.78 kB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.129, allocations: 0.9375 kB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/1.129, allocations: 0.5625 kB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/1.129, allocations: 0 / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/1.129, allocations: 5.812 kB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/1.129, allocations: 386.4 kB / 1.28 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/1.129, allocations: 170.9 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/1.129, allocations: 81.23 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/1.129, allocations: 79.27 kB / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.887e-05/1.13, allocations: 111.8 kB / 1.281 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/1.13, allocations: 0 / 1.281 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.371e-05/1.13, allocations: 31.62 kB / 1.281 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/1.13, allocations: 130.7 kB / 1.281 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/1.13, allocations: 94.5 kB / 1.281 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/1.13, allocations: 26.83 kB / 1.281 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/1.13, allocations: 80.14 kB / 1.281 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/1.13, allocations: 1.125 kB / 1.281 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/1.13, allocations: 15.55 kB / 1.281 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.13, allocations: 315.6 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-06/1.13, allocations: 1.281 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-06/1.13, allocations: 4 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/1.13, allocations: 79.22 kB / 1.282 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.042e-05/1.13, allocations: 80.28 kB / 1.282 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.93e-05/1.13, allocations: 29.14 kB / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/1.13, allocations: 80.88 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/1.13, allocations: 77.12 kB / 1.282 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.251e-05/1.13, allocations: 164.4 kB / 1.282 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-05/1.13, allocations: 79.28 kB / 1.282 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.53e-05/1.13, allocations: 156.4 kB / 1.282 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.655e-05/1.131, allocations: 81.2 kB / 1.282 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/1.131, allocations: 76.62 kB / 1.282 GB, free: 8.25 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 0.0001454/1.131, allocations: 261.8 kB / 1.283 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.553e-05/1.131, allocations: 110.8 kB / 1.283 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/1.131, allocations: 106.9 kB / 1.283 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/1.131, allocations: 186 kB / 1.283 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.408e-05/1.131, allocations: 181.4 kB / 1.283 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.941e-05/1.131, allocations: 178.6 kB / 1.283 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/1.131, allocations: 406 kB / 1.284 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-05/1.131, allocations: 107.1 kB / 1.284 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/1.131, allocations: 109.7 kB / 1.284 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.13e-05/1.132, allocations: 178.9 kB / 1.284 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.179e-05/1.132, allocations: 177.5 kB / 1.284 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.288e-05/1.132, allocations: 182.6 kB / 1.284 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.304e-05/1.132, allocations: 186.3 kB / 1.285 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/1.132, allocations: 308.8 kB / 1.285 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.309e-05/1.132, allocations: 180.8 kB / 1.285 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.883e-05/1.132, allocations: 182.1 kB / 1.285 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/1.132, allocations: 107 kB / 1.285 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/1.132, allocations: 190.1 kB / 1.286 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/1.132, allocations: 103 kB / 1.286 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.495e-05/1.132, allocations: 77.44 kB / 1.286 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.132, allocations: 0 / 1.286 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002601/1.133, allocations: 1.375 kB / 1.286 GB, free: 4.621 MB / 0.9981 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.0005326/1.133, allocations: 0.8169 MB / 1.287 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.566e-05/1.133, allocations: 5.625 kB / 1.287 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.133, allocations: 0 / 1.287 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-06/1.133, allocations: 1.094 kB / 1.287 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/1.134, allocations: 459.1 kB / 1.287 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/1.135, allocations: 1.523 MB / 1.288 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/1.135, allocations: 0.6752 MB / 1.289 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.548e-06/1.135, allocations: 0.7969 kB / 1.289 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/1.135, allocations: 8.562 kB / 1.289 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.135, allocations: 3.938 kB / 1.289 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/1.153, allocations: 0.9743 MB / 1.29 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/9.494, allocations: 11.2 kB / 1.29 GB, free: 0.6875 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 16.145642550021876]