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.006288/0.006288, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001348/0.001348, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.617/2.617, allocations: 437 MB / 0.7105 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.302, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002235/0.3042, allocations: 0.5803 MB / 1.167 GB, free: 6.676 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 5.361e-05/0.3043, allocations: 4 kB / 1.167 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.3044, allocations: 0 / 1.167 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.3044, allocations: 0 / 1.167 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.905e-05/0.3045, allocations: 0 / 1.167 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.926e-05/0.3045, allocations: 0 / 1.167 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.3046, allocations: 4 kB / 1.167 GB, free: 6.668 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.4e-05/0.3047, allocations: 11.98 kB / 1.167 GB, free: 6.656 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.3047, allocations: 0 / 1.167 GB, free: 6.656 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.414e-05/0.3047, allocations: 7.875 kB / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.3047, allocations: 3.938 kB / 1.167 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.06e-06/0.3048, allocations: 0 / 1.167 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.3048, allocations: 0 / 1.167 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.3048, allocations: 0 / 1.167 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.223e-05/0.3049, allocations: 4 kB / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3049, allocations: 0 / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3049, allocations: 0 / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.3049, allocations: 0 / 1.167 GB, free: 6.641 MB / 0.92 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.0002922/0.3052, allocations: 319.6 kB / 1.167 GB, free: 6.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.3053, allocations: 8.031 kB / 1.167 GB, free: 6.27 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.3053, allocations: 30.75 kB / 1.167 GB, free: 6.23 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.995e-05/0.3053, allocations: 0.9375 kB / 1.167 GB, free: 6.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.3054, allocations: 164.4 kB / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.3054, allocations: 4.375 kB / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.3055, allocations: 384 / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.511e-05/0.3055, allocations: 26.27 kB / 1.167 GB, free: 5.996 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3056, allocations: 11.88 kB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.3056, allocations: 3.984 kB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3056, allocations: 0 / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.3056, allocations: 7.938 kB / 1.167 GB, free: 5.973 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.3059, allocations: 375.6 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.306, allocations: 177.1 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.306, allocations: 84.14 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.3061, allocations: 79.22 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.3061, allocations: 105.8 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.3061, allocations: 0 / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.202e-05/0.3062, allocations: 33.98 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.3063, allocations: 126.7 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.3063, allocations: 101.9 kB / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.3064, allocations: 25.7 kB / 1.168 GB, free: 4.777 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.3064, allocations: 80.14 kB / 1.168 GB, free: 4.695 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.3064, allocations: 0 / 1.168 GB, free: 4.695 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.3064, allocations: 13.7 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.3065, allocations: 314.8 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-06/0.3065, allocations: 4 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.3065, allocations: 3.938 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/0.3066, allocations: 79.41 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.323e-05/0.3066, allocations: 79.22 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.511e-05/0.3067, allocations: 29.69 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.3067, allocations: 83.28 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.15e-05/0.3068, allocations: 79.28 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.23e-05/0.3068, allocations: 154.5 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.075e-05/0.3069, allocations: 87.2 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-05/0.3069, allocations: 158.5 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.307, allocations: 75.28 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.307, allocations: 75.28 kB / 1.17 GB, free: 3.457 MB / 0.92 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.0001199/0.3072, allocations: 268.3 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.3072, allocations: 104.9 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.3073, allocations: 112.1 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.705e-05/0.3073, allocations: 180.2 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-05/0.3074, allocations: 180.3 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.066e-05/0.3074, allocations: 176.3 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.3077, allocations: 413 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-05/0.3077, allocations: 109 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.3077, allocations: 104.9 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.438e-05/0.3078, allocations: 180.3 kB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/0.3079, allocations: 180.3 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.417e-05/0.3079, allocations: 192.5 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.925e-05/0.308, allocations: 180.2 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.3081, allocations: 311.7 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.3082, allocations: 190 kB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.3082, allocations: 176.3 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.3083, allocations: 105 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/0.3084, allocations: 184.3 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.3084, allocations: 101 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.3085, allocations: 87.27 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3085, allocations: 0 / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002386/0.3087, allocations: 0 / 1.173 GB, free: 15.77 MB / 0.9356 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.0003727/0.3091, allocations: 0.8049 MB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.025e-05/0.3091, allocations: 8 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3091, allocations: 0 / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.3092, allocations: 3.984 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3095, allocations: 451.7 kB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.3106, allocations: 1.54 MB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.3108, allocations: 0.6728 MB / 1.176 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.863e-06/0.3109, allocations: 0 / 1.176 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.3109, allocations: 7.438 kB / 1.176 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.3109, allocations: 4 kB / 1.176 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.3253, allocations: 0.9191 MB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/7.973, allocations: 19.03 kB / 1.177 GB, free: 11.32 MB / 0.9356 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