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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001569/0.001574, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.526/2.526, allocations: 437 MB / 0.7104 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 59.91 kB / 0.8694 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7006/0.7021, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002066/0.7042, allocations: 0.578 MB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 5.185e-05/0.7043, allocations: 4 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.7043, allocations: 11.94 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.7044, allocations: 3.938 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.752e-05/0.7044, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.844e-05/0.7045, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.7045, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.396e-05/0.7046, allocations: 4 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.46e-05/0.7046, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.971e-05/0.7046, allocations: 3.984 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.7047, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.539e-06/0.7047, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.7047, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.7047, allocations: 11.98 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.595e-05/0.7048, allocations: 7.938 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.7048, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.215e-06/0.7048, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.7048, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.7637 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.0003391/0.7052, allocations: 315.5 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.7052, allocations: 8.031 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.7053, allocations: 30.75 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.7053, allocations: 0.9375 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.7054, allocations: 164.4 kB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.7055, allocations: 8.312 kB / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.7055, allocations: 4.375 kB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.714e-05/0.7056, allocations: 26.27 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.7056, allocations: 3.938 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.7056, allocations: 0 / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.7056, allocations: 0 / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.033e-05/0.7056, allocations: 4 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.706, allocations: 383.5 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.893e-05/0.7061, allocations: 177 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.7062, allocations: 80.14 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.7062, allocations: 75.28 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.7063, allocations: 113.8 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7063, allocations: 0 / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 8.762e-05/0.7063, allocations: 37.64 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.7064, allocations: 126.7 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.116e-05/0.7065, allocations: 93.86 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.7065, allocations: 25.7 kB / 1.02 GB, free: 16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.7066, allocations: 80.14 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.7066, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.7066, allocations: 17.78 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7067, allocations: 318.8 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/0.7068, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.548e-05/0.7068, allocations: 4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.758e-05/0.7068, allocations: 79.22 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.681e-05/0.7068, allocations: 79.22 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.614e-05/0.7069, allocations: 25.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.707, allocations: 85.62 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/0.707, allocations: 87.22 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.052e-05/0.7071, allocations: 150.6 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-05/0.7071, allocations: 83.25 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.977e-05/0.7072, allocations: 158.5 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.531e-05/0.7072, allocations: 79.28 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.7073, allocations: 79.22 kB / 1.021 GB, free: 14.67 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.0001159/0.7074, allocations: 264.3 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.7075, allocations: 105 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.7075, allocations: 108 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.309e-05/0.7076, allocations: 180.2 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-05/0.7077, allocations: 188.2 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.534e-05/0.7077, allocations: 180.3 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.708, allocations: 401.2 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.956e-05/0.708, allocations: 104.9 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.7081, allocations: 109 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.616e-05/0.7081, allocations: 180.2 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.789e-05/0.7082, allocations: 180.3 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-05/0.7083, allocations: 176.3 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.419e-05/0.7084, allocations: 188.2 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.7085, allocations: 311.7 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.7086, allocations: 178.5 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.7087, allocations: 184.2 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.7088, allocations: 104.9 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.7089, allocations: 188.3 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.7089, allocations: 104.9 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.709, allocations: 79.28 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.709, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002522/0.7092, allocations: 4.094 kB / 1.024 GB, free: 11 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.0004454/0.7097, allocations: 0.8048 MB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.077e-05/0.7098, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7098, allocations: 3.938 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.7098, allocations: 8 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.7101, allocations: 459.6 kB / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.7113, allocations: 1.539 MB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.7116, allocations: 0.6729 MB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.113e-06/0.7116, allocations: 4.125 kB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.7116, allocations: 7.438 kB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.7116, allocations: 0 / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.7285, allocations: 0.8934 MB / 1.029 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.365/8.093, allocations: 18.06 kB / 1.029 GB, free: 6.551 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