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.001626/0.001626, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001972/0.001972, allocations: 219.3 kB / 22.25 MB, free: 5.254 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.773 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.182/3.182, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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.001997/0.001997, allocations: 66.36 kB / 1.154 GB, free: 25.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3668, allocations: 176.1 MB / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001867/0.3687, allocations: 0.5971 MB / 1.326 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.175e-05/0.3687, allocations: 3.938 kB / 1.326 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.3688, allocations: 0 / 1.326 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.3688, allocations: 0 / 1.326 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.483e-05/0.3688, allocations: 0 / 1.326 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.194e-05/0.3689, allocations: 4 kB / 1.326 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.629e-05/0.3689, allocations: 3.938 kB / 1.326 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.593e-05/0.369, allocations: 0 / 1.326 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.856e-05/0.369, allocations: 4 kB / 1.326 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.297e-05/0.369, allocations: 11.98 kB / 1.326 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.369, allocations: 3.938 kB / 1.326 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.799e-06/0.369, allocations: 0 / 1.326 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.3691, allocations: 0 / 1.326 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.3691, allocations: 0 / 1.326 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.486e-05/0.3691, allocations: 3.984 kB / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3691, allocations: 0 / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3691, allocations: 0 / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.799e-06/0.3692, allocations: 4 kB / 1.327 GB, free: 0.7422 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.000312/0.3695, allocations: 236.2 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3695, allocations: 8.031 kB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.3696, allocations: 38.75 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.814e-05/0.3696, allocations: 0.9375 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3697, allocations: 106.5 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.3697, allocations: 4.359 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.3697, allocations: 384 / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.827e-05/0.3698, allocations: 26.27 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3698, allocations: 7.875 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.3698, allocations: 4 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3698, allocations: 0 / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.608e-05/0.3699, allocations: 0 / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.3702, allocations: 358.5 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3704, allocations: 177.5 kB / 1.327 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.3704, allocations: 88.08 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.3704, allocations: 75.28 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.082e-05/0.3705, allocations: 105.8 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3705, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.81e-05/0.3706, allocations: 33.73 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.3707, allocations: 126.7 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3708, allocations: 97.86 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3708, allocations: 25.7 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.3709, allocations: 88.25 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.3709, allocations: 0 / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.3709, allocations: 9.719 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.371, allocations: 318.8 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-06/0.371, allocations: 3.938 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-06/0.3711, allocations: 0 / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.3711, allocations: 75.28 kB / 1.328 GB, free: 14.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-05/0.3711, allocations: 79.22 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.618e-05/0.3712, allocations: 29.7 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.3712, allocations: 79.28 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/0.3713, allocations: 75.28 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/0.3714, allocations: 170.5 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.577e-05/0.3714, allocations: 75.28 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-05/0.3715, allocations: 154.5 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.941e-05/0.3716, allocations: 79.28 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.3716, allocations: 75.28 kB / 1.329 GB, free: 13.77 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.0001736/0.3718, allocations: 270.6 kB / 1.329 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.3719, allocations: 105 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.058e-05/0.372, allocations: 108.1 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-05/0.372, allocations: 184.2 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001001/0.3721, allocations: 176.3 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-05/0.3722, allocations: 184.2 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.3725, allocations: 384.2 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-05/0.3726, allocations: 109 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.3726, allocations: 108.9 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.531e-05/0.3727, allocations: 176.3 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.3728, allocations: 180.2 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001016/0.3729, allocations: 188.5 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.58e-05/0.373, allocations: 180.3 kB / 1.331 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.3732, allocations: 307.7 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.3733, allocations: 112.9 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.3734, allocations: 184.3 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.3735, allocations: 101 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3736, allocations: 184.2 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.3737, allocations: 101 kB / 1.332 GB, free: 10.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.307e-05/0.3737, allocations: 83.27 kB / 1.332 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3737, allocations: 0 / 1.332 GB, free: 10.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002667/0.374, allocations: 0 / 1.332 GB, free: 10.21 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.0005373/0.3745, allocations: 0.8048 MB / 1.333 GB, free: 9.371 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.086e-05/0.3746, allocations: 0 / 1.333 GB, free: 9.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3746, allocations: 4.094 kB / 1.333 GB, free: 9.367 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.3746, allocations: 0 / 1.333 GB, free: 9.367 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.375, allocations: 475.6 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.3763, allocations: 1.528 MB / 1.335 GB, free: 7.293 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.951e-05/0.3764, allocations: 55.36 kB / 1.335 GB, free: 7.219 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.714e-06/0.3764, allocations: 0 / 1.335 GB, free: 7.219 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.3764, allocations: 7.438 kB / 1.335 GB, free: 7.211 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3764, allocations: 0 / 1.335 GB, free: 7.211 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.4043, allocations: 1.431 MB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.54, allocations: 11.25 kB / 1.337 GB, free: 5.906 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 18.212253219011473]