Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 113 kB / 18.14 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 198.2 kB / 21.43 MB, free: 412 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 250.2 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.697/2.697, allocations: 476.7 MB / 0.7637 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 67.89 kB / 1.108 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.796, allocations: 168.7 MB / 1.273 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001867/0.7978, allocations: 0.5891 MB / 1.273 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 3.991e-05/0.7979, allocations: 0 / 1.273 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.7979, allocations: 4 kB / 1.273 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.7979, allocations: 3.938 kB / 1.273 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.359e-05/0.798, allocations: 4 kB / 1.273 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.292e-05/0.798, allocations: 3.984 kB / 1.273 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.748e-05/0.798, allocations: 7.938 kB / 1.273 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.226e-05/0.7981, allocations: 4 kB / 1.273 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.387e-05/0.7981, allocations: 4 kB / 1.273 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.723e-05/0.7981, allocations: 3.938 kB / 1.273 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.7981, allocations: 0 / 1.273 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-06/0.7981, allocations: 0 / 1.273 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.7982, allocations: 0 / 1.273 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.736e-05/0.7982, allocations: 0 / 1.273 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.927e-05/0.7982, allocations: 3.984 kB / 1.273 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7982, allocations: 11.94 kB / 1.273 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7982, allocations: 0 / 1.273 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.7982, allocations: 0 / 1.273 GB, free: 3.645 MB / 0.9669 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.0003397/0.7986, allocations: 321.4 kB / 1.274 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.7986, allocations: 8.031 kB / 1.274 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.7987, allocations: 30.75 kB / 1.274 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.777e-05/0.7987, allocations: 0.9375 kB / 1.274 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.7988, allocations: 160.4 kB / 1.274 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.7988, allocations: 384 / 1.274 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-06/0.7988, allocations: 8.375 kB / 1.274 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.897e-05/0.7989, allocations: 34.19 kB / 1.274 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.7989, allocations: 3.938 kB / 1.274 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-06/0.7989, allocations: 0 / 1.274 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.7989, allocations: 0 / 1.274 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.588e-05/0.7989, allocations: 4 kB / 1.274 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.7993, allocations: 379.5 kB / 1.274 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.712e-05/0.7994, allocations: 177 kB / 1.275 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.397e-05/0.7994, allocations: 84.14 kB / 1.275 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.7994, allocations: 75.28 kB / 1.275 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.7995, allocations: 105.8 kB / 1.275 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.7995, allocations: 0 / 1.275 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.09e-05/0.7996, allocations: 33.7 kB / 1.275 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.7996, allocations: 130.6 kB / 1.275 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.7997, allocations: 97.84 kB / 1.275 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.7997, allocations: 25.7 kB / 1.275 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.7998, allocations: 84.14 kB / 1.275 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.7998, allocations: 0 / 1.275 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.7998, allocations: 9.719 kB / 1.275 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7999, allocations: 315 kB / 1.275 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/0.7999, allocations: 0 / 1.275 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-06/0.8, allocations: 4 kB / 1.275 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.8, allocations: 75.28 kB / 1.276 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.109e-05/0.8, allocations: 79.22 kB / 1.276 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.803e-05/0.8001, allocations: 25.7 kB / 1.276 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.8001, allocations: 83.28 kB / 1.276 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.014e-05/0.8002, allocations: 91.23 kB / 1.276 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.433e-05/0.8002, allocations: 162.4 kB / 1.276 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.399e-05/0.8003, allocations: 83.22 kB / 1.276 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.769e-05/0.8003, allocations: 154.6 kB / 1.276 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.8004, allocations: 75.28 kB / 1.276 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.8004, allocations: 79.22 kB / 1.276 GB, free: 476 kB / 0.9669 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.0001352/0.8006, allocations: 264.3 kB / 1.277 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.259e-05/0.8007, allocations: 109 kB / 1.277 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.469e-05/0.8007, allocations: 117.6 kB / 1.277 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.906e-05/0.8008, allocations: 176.3 kB / 1.277 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.012e-05/0.8009, allocations: 180.3 kB / 1.277 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.668e-05/0.801, allocations: 180.2 kB / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.8012, allocations: 409.2 kB / 1.278 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.475e-05/0.8013, allocations: 104.9 kB / 1.278 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.8013, allocations: 105 kB / 1.278 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.443e-05/0.8014, allocations: 176.3 kB / 1.278 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/0.8015, allocations: 184.2 kB / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-05/0.8016, allocations: 180.3 kB / 1.278 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-05/0.8016, allocations: 188.2 kB / 1.279 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.8018, allocations: 308.1 kB / 1.279 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.8019, allocations: 186 kB / 1.279 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.802, allocations: 180.3 kB / 1.279 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.8021, allocations: 113 kB / 1.279 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.8022, allocations: 180.3 kB / 1.28 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.8022, allocations: 105 kB / 1.28 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.8023, allocations: 83.22 kB / 1.28 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8023, allocations: 0 / 1.28 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000243/0.8025, allocations: 0 / 1.28 GB, free: 12.79 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.0005104/0.803, allocations: 0.8093 MB / 1.281 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.363e-05/0.8031, allocations: 0 / 1.281 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8031, allocations: 0 / 1.281 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.8031, allocations: 7.938 kB / 1.281 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.8035, allocations: 461.4 kB / 1.281 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.8048, allocations: 1.539 MB / 1.282 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.8051, allocations: 0.6729 MB / 1.283 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.005e-06/0.8051, allocations: 0 / 1.283 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.8051, allocations: 11.38 kB / 1.283 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.8051, allocations: 0 / 1.283 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.8285, allocations: 0.8981 MB / 1.284 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.661, allocations: 20.98 kB / 1.284 GB, free: 8.344 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.591661632061005]