Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00163/0.00163, allocations: 108 kB / 15.6 MB, free: 128 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.001709/0.00171, allocations: 196.9 kB / 16.53 MB, free: 6.672 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 66.22 kB / 0.8992 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2585, allocations: 157.4 MB / 1.053 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001828/0.2604, allocations: 0.5749 MB / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.777e-05/0.2604, allocations: 11.94 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.2605, allocations: 4 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.19e-05/0.2605, allocations: 0 / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.095e-05/0.2605, allocations: 0 / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.606e-05/0.2606, allocations: 0 / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.947e-05/0.2606, allocations: 0 / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.2607, allocations: 4 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.197e-05/0.2607, allocations: 0 / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.352e-05/0.2607, allocations: 0 / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.2607, allocations: 0 / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-06/0.2607, allocations: 0 / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.2607, allocations: 4 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.2608, allocations: 4 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.13e-05/0.2608, allocations: 15.92 kB / 1.054 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2608, allocations: 0 / 1.054 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2608, allocations: 0 / 1.054 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.2609, allocations: 0 / 1.054 GB, free: 7.602 MB / 0.8106 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.0002658/0.2611, allocations: 307.6 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2612, allocations: 8.625 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.2612, allocations: 34.69 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.963e-05/0.2612, allocations: 8.922 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2613, allocations: 164.4 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.2614, allocations: 4.375 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.2614, allocations: 384 / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.217e-05/0.2614, allocations: 30.27 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2615, allocations: 3.938 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.2615, allocations: 3.938 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.2615, allocations: 0 / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.445e-05/0.2615, allocations: 4 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.2618, allocations: 391.5 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.981e-05/0.2619, allocations: 169.1 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.2619, allocations: 84.17 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.2619, allocations: 75.28 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.262, allocations: 109.8 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.262, allocations: 0 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.752e-05/0.2621, allocations: 37.62 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.2621, allocations: 130.7 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.2622, allocations: 93.86 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.2622, allocations: 25.7 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.2623, allocations: 80.14 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.2623, allocations: 4.125 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.2623, allocations: 9.719 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2624, allocations: 314.8 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-06/0.2624, allocations: 3.938 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.2624, allocations: 4 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.348e-05/0.2625, allocations: 75.28 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-05/0.2625, allocations: 79.22 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.935e-05/0.2626, allocations: 33.62 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.2626, allocations: 88.38 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.2626, allocations: 79.28 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.599e-05/0.2627, allocations: 150.6 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.32e-05/0.2627, allocations: 79.22 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.765e-05/0.2628, allocations: 154.6 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.173e-05/0.2629, allocations: 79.22 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.2629, allocations: 87.27 kB / 1.056 GB, free: 4.414 MB / 0.8106 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.0001046/0.263, allocations: 261.9 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.2631, allocations: 108.9 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.2631, allocations: 104.1 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.487e-05/0.2632, allocations: 176.3 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.819e-05/0.2633, allocations: 196.2 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.702e-05/0.2633, allocations: 176.3 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.2635, allocations: 405.1 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.079e-05/0.2636, allocations: 105.5 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.2636, allocations: 105 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.897e-05/0.2637, allocations: 184.2 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.2637, allocations: 180.3 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.344e-05/0.2638, allocations: 180.5 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.426e-05/0.2639, allocations: 180.3 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.264, allocations: 319.7 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.2641, allocations: 186 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.92e-05/0.2642, allocations: 184.2 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.2643, allocations: 101 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.2643, allocations: 180.3 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.2644, allocations: 108.9 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.2644, allocations: 79.28 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2644, allocations: 4.094 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000243/0.2647, allocations: 0 / 1.06 GB, free: 0.7461 MB / 0.8106 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.0004117/0.2651, allocations: 0.8048 MB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.578e-05/0.2651, allocations: 3.938 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2652, allocations: 7.938 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.2652, allocations: 0 / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.2655, allocations: 459.7 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.2665, allocations: 1.528 MB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.2668, allocations: 0.6769 MB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.075e-06/0.2668, allocations: 0 / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.2668, allocations: 7.438 kB / 1.063 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2668, allocations: 0 / 1.063 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.283, allocations: 0.9054 MB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/7.972, allocations: 10.94 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches