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.00188/0.00188, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002319/0.002319, allocations: 211.8 kB / 22.25 MB, free: 5.129 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.961 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.971/2.971, allocations: 476.7 MB / 0.7707 GB, free: 4.246 MB / 0.6231 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="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: 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.002187/0.002187, allocations: 66.66 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3548, allocations: 169.9 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002249/0.3571, allocations: 0.552 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 5.229e-05/0.3571, allocations: 4 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/0.3572, allocations: 4 kB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.3572, allocations: 0 / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.257e-05/0.3572, allocations: 0 / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.352e-05/0.3572, allocations: 0 / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.3573, allocations: 7.984 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.363e-05/0.3574, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.928e-05/0.3574, allocations: 3.984 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.076e-05/0.3574, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.3574, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.578e-06/0.3574, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.3575, allocations: 4 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.3575, allocations: 11.94 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.9e-05/0.3576, allocations: 0 / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3576, allocations: 3.938 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3576, allocations: 0 / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3576, allocations: 0 / 1.284 GB, free: 11.12 MB / 0.9825 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.0003638/0.3579, allocations: 236.9 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.358, allocations: 8.031 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.358, allocations: 38.69 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.358, allocations: 0.9375 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.3582, allocations: 110.1 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3582, allocations: 4.375 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.3582, allocations: 384 / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.702e-05/0.3583, allocations: 30.27 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3583, allocations: 3.938 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.3583, allocations: 0 / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3583, allocations: 0 / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.391e-05/0.3583, allocations: 7.922 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.3587, allocations: 354.6 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.3589, allocations: 173.1 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.3589, allocations: 80.14 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.359, allocations: 79.27 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.811e-05/0.359, allocations: 113.8 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.359, allocations: 4 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.619e-05/0.3591, allocations: 25.7 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.476e-05/0.3592, allocations: 134.6 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3594, allocations: 89.86 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3594, allocations: 25.7 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.3594, allocations: 84.14 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.3594, allocations: 0 / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.3595, allocations: 17.84 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3597, allocations: 314.8 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-06/0.3597, allocations: 128 / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-06/0.3597, allocations: 0 / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.12e-05/0.3597, allocations: 79.28 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.333e-05/0.3597, allocations: 83.22 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.962e-05/0.3598, allocations: 29.64 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/0.3599, allocations: 83.28 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.036e-05/0.3599, allocations: 79.28 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.051e-05/0.36, allocations: 154.5 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.621e-05/0.3601, allocations: 75.28 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.239e-05/0.3601, allocations: 158.5 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.444e-05/0.3602, allocations: 83.22 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.3603, allocations: 77.08 kB / 1.287 GB, free: 8.145 MB / 0.9825 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.0001701/0.3604, allocations: 264.3 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.3605, allocations: 108.9 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/0.3606, allocations: 104.1 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.294e-05/0.3607, allocations: 184.2 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001002/0.3608, allocations: 184.2 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001053/0.3609, allocations: 184.3 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.3612, allocations: 384.1 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-05/0.3613, allocations: 101 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.3613, allocations: 112.9 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.3614, allocations: 180.3 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.461e-05/0.3615, allocations: 176.3 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.266e-05/0.3616, allocations: 184.2 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.672e-05/0.3617, allocations: 184.2 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.3619, allocations: 308.1 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.362, allocations: 101 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3621, allocations: 188.2 kB / 1.289 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3622, allocations: 113 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.3623, allocations: 184.1 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/0.3623, allocations: 101 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.3624, allocations: 79.28 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3624, allocations: 0 / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002721/0.3626, allocations: 0 / 1.29 GB, free: 4.598 MB / 0.9825 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.0005304/0.3632, allocations: 0.8087 MB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.204e-05/0.3632, allocations: 4 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3632, allocations: 0 / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.3632, allocations: 0 / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.3636, allocations: 463.6 kB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.3649, allocations: 1.524 MB / 1.293 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3653, allocations: 0.6768 MB / 1.293 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.538e-06/0.3653, allocations: 0 / 1.293 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.3653, allocations: 7.438 kB / 1.293 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3653, allocations: 4 kB / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.3956, allocations: 0.9971 MB / 1.294 GB, free: 116 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.34, allocations: 10.05 kB / 1.294 GB, free: 112 kB / 0.9825 GB " [Timeout remaining time 288] (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: 18.315573564963415]