Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.00153/0.00153, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00152/0.00152, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.244/3.244, allocations: 0.49 GB / 0.7951 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_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.002056/0.002056, allocations: 72.5 kB / 1.154 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3859, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001879/0.3878, allocations: 0.5948 MB / 1.327 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 5.1e-05/0.3879, allocations: 7.984 kB / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.3879, allocations: 0 / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.3879, allocations: 0 / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.554e-05/0.388, allocations: 0 / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.37e-05/0.388, allocations: 0 / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.552e-05/0.3881, allocations: 7.938 kB / 1.327 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.3881, allocations: 11.94 kB / 1.327 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.251e-05/0.3881, allocations: 0 / 1.327 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.812e-05/0.3881, allocations: 0 / 1.327 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.3882, allocations: 0 / 1.327 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.667e-06/0.3882, allocations: 0 / 1.327 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.3882, allocations: 3.984 kB / 1.327 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.3882, allocations: 3.938 kB / 1.327 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.804e-05/0.3883, allocations: 4 kB / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3883, allocations: 0 / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3883, allocations: 0 / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.77e-05/0.3883, allocations: 0 / 1.327 GB, free: 1.328 MB / 1.014 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.0003102/0.3886, allocations: 246.7 kB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3886, allocations: 8.031 kB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.3887, allocations: 30.75 kB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.3887, allocations: 4.938 kB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3888, allocations: 102.5 kB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3888, allocations: 384 / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.3888, allocations: 384 / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.916e-05/0.3889, allocations: 38.19 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3889, allocations: 3.938 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.3889, allocations: 4 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3889, allocations: 0 / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.633e-05/0.389, allocations: 4 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.3893, allocations: 350.5 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3894, allocations: 173.5 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.3894, allocations: 92.11 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.3895, allocations: 75.28 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.888e-05/0.3896, allocations: 105.8 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.3896, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.276e-05/0.3896, allocations: 29.73 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.3897, allocations: 126.7 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3898, allocations: 101.9 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.3898, allocations: 29.64 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.3899, allocations: 84.12 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.3899, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.3899, allocations: 13.72 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.39, allocations: 310.8 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-06/0.39, allocations: 3.938 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-06/0.39, allocations: 0 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.3901, allocations: 79.41 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-05/0.3901, allocations: 79.22 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.729e-05/0.3902, allocations: 33.7 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/0.3902, allocations: 83.22 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.705e-05/0.3902, allocations: 83.22 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.183e-05/0.3903, allocations: 150.6 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.22e-05/0.3904, allocations: 79.27 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.052e-05/0.3904, allocations: 158.5 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.819e-05/0.3905, allocations: 75.28 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.3906, allocations: 83.22 kB / 1.329 GB, free: 14.34 MB / 1.029 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.0001427/0.3907, allocations: 264.9 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.3908, allocations: 101 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.474e-05/0.3908, allocations: 116.1 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-05/0.3909, allocations: 180.2 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.688e-05/0.391, allocations: 176.3 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.932e-05/0.3911, allocations: 180.2 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.3913, allocations: 380.2 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-05/0.3914, allocations: 109 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.3914, allocations: 108.9 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.141e-05/0.3915, allocations: 180.3 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.21e-05/0.3916, allocations: 184.2 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.422e-05/0.3917, allocations: 180.6 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.47e-05/0.3918, allocations: 176.3 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.392, allocations: 315.7 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.392, allocations: 112.9 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-05/0.3921, allocations: 176.3 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.3922, allocations: 101 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-05/0.3923, allocations: 184.2 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.3924, allocations: 105 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.253e-05/0.3924, allocations: 87.2 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3924, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004482/0.3929, allocations: 4 kB / 1.333 GB, free: 10.79 MB / 1.029 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.0005547/0.3934, allocations: 0.8087 MB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.94e-05/0.3935, allocations: 0 / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.3935, allocations: 0 / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-06/0.3935, allocations: 4 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.3939, allocations: 463.6 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.3954, allocations: 1.538 MB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.3958, allocations: 0.669 MB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.005e-06/0.3958, allocations: 0 / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.3958, allocations: 15.38 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3958, allocations: 0 / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.4253, allocations: 1.008 MB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.04, allocations: 8.406 kB / 1.337 GB, free: 6.285 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.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_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 17.907378808999056]