Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008915/0.0008911, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005991/0.005991, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.467/2.467, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 12 kB / 0.873 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6083, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.0006967/0.609, allocations: 321.2 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 3.825e-05/0.6091, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.6091, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.6091, allocations: 3.938 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.872e-05/0.6092, allocations: 4 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.816e-05/0.6092, allocations: 0 / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.362e-05/0.6092, allocations: 8 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.6093, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.6093, allocations: 7.922 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.6e-05/0.6093, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.6094, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.636e-06/0.6094, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.6094, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.6094, allocations: 29.7 kB / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.745e-05/0.6095, allocations: 7.922 kB / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6095, allocations: 4 kB / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6095, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.6095, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.7794 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.0002524/0.6098, allocations: 307.5 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.6098, allocations: 12.09 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.6098, allocations: 38.69 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.783e-05/0.6099, allocations: 0.9375 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.61, allocations: 164.4 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.61, allocations: 384 / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.61, allocations: 4.375 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.217e-05/0.6101, allocations: 30.27 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.6101, allocations: 3.938 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.6101, allocations: 0 / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.6101, allocations: 0 / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.498e-05/0.6101, allocations: 4 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.6104, allocations: 379.5 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.022e-05/0.6105, allocations: 177.1 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.6106, allocations: 80.14 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.6106, allocations: 79.28 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.6106, allocations: 105.8 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.6106, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.366e-05/0.6107, allocations: 33.64 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.6108, allocations: 134.7 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/0.6109, allocations: 89.86 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.6109, allocations: 29.7 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.6109, allocations: 84.14 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.6109, allocations: 0 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.611, allocations: 9.719 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.6111, allocations: 310.8 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-06/0.6111, allocations: 4.125 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-06/0.6111, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.6111, allocations: 75.28 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.032e-05/0.6111, allocations: 83.16 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.252e-05/0.6112, allocations: 41.62 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.6113, allocations: 79.28 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.6113, allocations: 83.22 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.088e-05/0.6114, allocations: 150.6 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.924e-05/0.6114, allocations: 83.22 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.771e-05/0.6115, allocations: 154.6 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/0.6116, allocations: 83.25 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.6116, allocations: 79.28 kB / 1.026 GB, free: 12.32 MB / 0.7794 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.0001186/0.6117, allocations: 264.9 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.6118, allocations: 105 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.6118, allocations: 116 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.355e-05/0.6119, allocations: 176.3 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-05/0.612, allocations: 180.2 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.571e-05/0.612, allocations: 180.2 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.6123, allocations: 409.1 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/0.6123, allocations: 105 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.6123, allocations: 105 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.367e-05/0.6124, allocations: 184.2 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/0.6125, allocations: 176.3 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.565e-05/0.6125, allocations: 180.2 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.355e-05/0.6126, allocations: 180.3 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.6127, allocations: 312.1 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.6128, allocations: 186.1 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.6128, allocations: 180.2 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.6129, allocations: 113 kB / 1.029 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.613, allocations: 180.2 kB / 1.03 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.613, allocations: 108.9 kB / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.613, allocations: 75.28 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.613, allocations: 0 / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002463/0.6133, allocations: 0 / 1.03 GB, free: 8.66 MB / 0.7794 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.0003827/0.6137, allocations: 0.8127 MB / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.018e-05/0.6137, allocations: 3.938 kB / 1.031 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6137, allocations: 0 / 1.031 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.6137, allocations: 0 / 1.031 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.6141, allocations: 0.5263 MB / 1.031 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009907/0.6151, allocations: 1.529 MB / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.6153, allocations: 0.6731 MB / 1.033 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.504e-06/0.6154, allocations: 0 / 1.033 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.6154, allocations: 7.438 kB / 1.033 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6154, allocations: 3.938 kB / 1.033 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01035/0.6257, allocations: 0.7353 MB / 1.034 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.626, allocations: 211.5 kB / 1.034 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.298, allocations: 0 / 1.034 GB, free: 4.117 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches