Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.0018/0.0018, allocations: 116.8 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.00193/0.00193, allocations: 212 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.561/1.561, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.945/2.945, allocations: 0.5003 GB / 0.8026 GB, free: 6.699 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_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.001971/0.001971, allocations: 63.89 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9268/0.9287, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001618/0.9303, allocations: 0.5601 MB / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 3.894e-05/0.9304, allocations: 3.938 kB / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.9304, allocations: 0 / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.9304, allocations: 1.406 kB / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.621e-05/0.9305, allocations: 0 / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.683e-05/0.9305, allocations: 0 / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.915e-05/0.9305, allocations: 5.812 kB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.9306, allocations: 9.641 kB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.144e-05/0.9306, allocations: 0.9062 kB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.9306, allocations: 6.031 kB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.9306, allocations: 0 / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-06/0.9306, allocations: 0 / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.9306, allocations: 1.469 kB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.9307, allocations: 3.938 kB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.279e-05/0.9307, allocations: 2.781 kB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.9307, allocations: 0 / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9307, allocations: 0 / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.9307, allocations: 0 / 1.341 GB, free: 15.88 MB / 1.061 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.0002392/0.931, allocations: 318.1 kB / 1.341 GB, free: 15.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.931, allocations: 17.55 kB / 1.341 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.129e-05/0.931, allocations: 192 / 1.341 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.496e-05/0.931, allocations: 32.06 kB / 1.341 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.913e-05/0.9311, allocations: 5.453 kB / 1.341 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.281e-05/0.9311, allocations: 162.8 kB / 1.341 GB, free: 15.28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.9311, allocations: 384 / 1.341 GB, free: 15.28 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.9312, allocations: 1.812 kB / 1.341 GB, free: 15.28 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.883e-05/0.9312, allocations: 31.7 kB / 1.341 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.9312, allocations: 0.75 kB / 1.341 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-06/0.9312, allocations: 4 kB / 1.341 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.9312, allocations: 1.531 kB / 1.341 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.456e-05/0.9313, allocations: 5.5 kB / 1.341 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.9314, allocations: 385.8 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.38e-05/0.9315, allocations: 171.2 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.397e-05/0.9315, allocations: 84.14 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.9315, allocations: 75.28 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.9315, allocations: 108 kB / 1.342 GB, free: 14.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.9315, allocations: 0 / 1.342 GB, free: 14.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 5.735e-05/0.9316, allocations: 31.55 kB / 1.342 GB, free: 14.33 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.9316, allocations: 127.3 kB / 1.342 GB, free: 14.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.659e-05/0.9317, allocations: 106.4 kB / 1.342 GB, free: 14.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-06/0.9317, allocations: 25.7 kB / 1.342 GB, free: 14.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.177e-05/0.9317, allocations: 81.88 kB / 1.342 GB, free: 13.97 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/0.9317, allocations: 0 / 1.342 GB, free: 13.97 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.9317, allocations: 10.78 kB / 1.342 GB, free: 13.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.757e-05/0.9318, allocations: 313.1 kB / 1.343 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-06/0.9318, allocations: 0 / 1.343 GB, free: 13.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-06/0.9318, allocations: 1.062 kB / 1.343 GB, free: 13.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.267e-05/0.9318, allocations: 83.34 kB / 1.343 GB, free: 13.56 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.9318, allocations: 75.28 kB / 1.343 GB, free: 13.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.525e-05/0.9318, allocations: 34.33 kB / 1.343 GB, free: 13.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.9318, allocations: 79.88 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.9319, allocations: 81.12 kB / 1.343 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.9319, allocations: 160.2 kB / 1.343 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.113e-05/0.9319, allocations: 76.89 kB / 1.343 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.9319, allocations: 156.3 kB / 1.343 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.616e-05/0.932, allocations: 82.27 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.932, allocations: 75.8 kB / 1.344 GB, free: 12.77 MB / 1.061 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 5.525e-05/0.932, allocations: 262.4 kB / 1.344 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.9321, allocations: 112 kB / 1.344 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.9321, allocations: 110.5 kB / 1.344 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.9321, allocations: 178.2 kB / 1.344 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.488e-05/0.9321, allocations: 184.9 kB / 1.344 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.442e-05/0.9322, allocations: 178.9 kB / 1.345 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.9323, allocations: 408.6 kB / 1.345 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.9323, allocations: 102.9 kB / 1.345 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.9323, allocations: 106.6 kB / 1.345 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-05/0.9323, allocations: 182.5 kB / 1.345 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.9324, allocations: 178 kB / 1.346 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.228e-05/0.9324, allocations: 184.7 kB / 1.346 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.907e-05/0.9324, allocations: 181.8 kB / 1.346 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.594e-05/0.9325, allocations: 310.4 kB / 1.346 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.9325, allocations: 184.5 kB / 1.346 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.9325, allocations: 186.6 kB / 1.347 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.881e-05/0.9326, allocations: 106.8 kB / 1.347 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.9326, allocations: 181.9 kB / 1.347 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.9326, allocations: 110.5 kB / 1.347 GB, free: 9.207 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.955e-05/0.9326, allocations: 78.17 kB / 1.347 GB, free: 9.133 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9326, allocations: 0 / 1.347 GB, free: 9.133 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000237/0.9329, allocations: 0 / 1.347 GB, free: 9.133 MB / 1.061 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.0002157/0.9331, allocations: 0.8122 MB / 1.348 GB, free: 8.312 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 3.906e-05/0.9331, allocations: 1.766 kB / 1.348 GB, free: 8.312 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9331, allocations: 0 / 1.348 GB, free: 8.312 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-06/0.9331, allocations: 5.031 kB / 1.348 GB, free: 8.309 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.9334, allocations: 457.5 kB / 1.348 GB, free: 7.859 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.934, allocations: 1.532 MB / 1.35 GB, free: 6.281 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.46e-05/0.9341, allocations: 0.6712 MB / 1.35 GB, free: 5.586 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.923e-06/0.9341, allocations: 0.6094 kB / 1.35 GB, free: 5.586 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.9341, allocations: 8.562 kB / 1.35 GB, free: 5.578 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.9341, allocations: 0 / 1.35 GB, free: 5.578 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.9506, allocations: 0.977 MB / 1.351 GB, free: 5.238 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/9.502, allocations: 3.172 kB / 1.351 GB, free: 5.238 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.239176727016456]