Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.001224/0.001224, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001161/0.001161, allocations: 194.6 kB / 16.25 MB, free: 6.621 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.256/1.256, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.445/2.445, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.97 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2554, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001478/0.2569, allocations: 0.6105 MB / 1.053 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.265e-05/0.2569, allocations: 3.938 kB / 1.053 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.257, allocations: 0 / 1.053 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.257, allocations: 3.938 kB / 1.053 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.318e-05/0.257, allocations: 0 / 1.053 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.997e-05/0.2571, allocations: 4 kB / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.105e-05/0.2571, allocations: 4 kB / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.2572, allocations: 4 kB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.114e-05/0.2572, allocations: 0 / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.48e-05/0.2572, allocations: 0 / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.2572, allocations: 0 / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.496e-06/0.2572, allocations: 0 / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.2572, allocations: 4 kB / 1.053 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.2573, allocations: 3.984 kB / 1.053 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.494e-05/0.2573, allocations: 15.86 kB / 1.053 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2573, allocations: 0 / 1.053 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2573, allocations: 0 / 1.053 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.2573, allocations: 0 / 1.053 GB, free: 7.984 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.0002378/0.2576, allocations: 317.1 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2576, allocations: 8.625 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.258e-05/0.2576, allocations: 30.75 kB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.823e-05/0.2577, allocations: 8.922 kB / 1.053 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.916e-05/0.2578, allocations: 160.4 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-06/0.2578, allocations: 384 / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.2578, allocations: 384 / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.473e-05/0.2578, allocations: 30.27 kB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.2579, allocations: 7.938 kB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-06/0.2579, allocations: 0 / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.2579, allocations: 0 / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.582e-05/0.2579, allocations: 11.92 kB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.2581, allocations: 379.5 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.344e-05/0.2582, allocations: 169.1 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.2582, allocations: 84.14 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2583, allocations: 75.28 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.2583, allocations: 113.8 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2583, allocations: 0 / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.749e-05/0.2584, allocations: 33.72 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.2584, allocations: 126.7 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.2585, allocations: 101.9 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.2585, allocations: 25.7 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/0.2585, allocations: 80.14 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.2585, allocations: 0 / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.2586, allocations: 13.72 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.2586, allocations: 310.8 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-06/0.2587, allocations: 0 / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-06/0.2587, allocations: 7.875 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.953e-05/0.2587, allocations: 79.41 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/0.2587, allocations: 79.22 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.062e-05/0.2588, allocations: 41.62 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.2588, allocations: 79.28 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.2588, allocations: 75.28 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.445e-05/0.2589, allocations: 158.5 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.078e-05/0.2589, allocations: 79.28 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.553e-05/0.2589, allocations: 154.6 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.259, allocations: 79.22 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.259, allocations: 79.27 kB / 1.056 GB, free: 4.805 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 7.89e-05/0.2591, allocations: 268.3 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.2591, allocations: 104.9 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.2592, allocations: 108.1 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/0.2592, allocations: 184.2 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.677e-05/0.2593, allocations: 180.2 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.394e-05/0.2593, allocations: 180.5 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.2595, allocations: 405.1 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.822e-05/0.2595, allocations: 113 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.2596, allocations: 108.9 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.535e-05/0.2596, allocations: 176.3 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.2597, allocations: 184.3 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.736e-05/0.2597, allocations: 180.2 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.363e-05/0.2598, allocations: 176.3 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.55e-05/0.2599, allocations: 315.7 kB / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.2599, allocations: 182 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.26, allocations: 184.2 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.926e-05/0.2601, allocations: 105 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.2601, allocations: 184.2 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.2601, allocations: 101 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.79e-05/0.2602, allocations: 83.28 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2602, allocations: 0 / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002209/0.2604, allocations: 0 / 1.059 GB, free: 1.137 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.0003053/0.2607, allocations: 0.8127 MB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 2.954e-05/0.2607, allocations: 0 / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2608, allocations: 4 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.2608, allocations: 3.938 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.2611, allocations: 451.7 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000744/0.2618, allocations: 1.528 MB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.262, allocations: 0.669 MB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.883e-06/0.262, allocations: 0 / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.2621, allocations: 7.438 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.2621, allocations: 4 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.249/3.511, allocations: 0.8329 MB / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/3.512, allocations: 216 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/5.707, allocations: 3.219 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches