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.001692/0.001692, allocations: 108 kB / 15.61 MB, free: 152 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.001843/0.001844, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.19/1.19, 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.528/2.528, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.48 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2454, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001586/0.247, allocations: 0.5495 MB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 2.839e-05/0.247, allocations: 0 / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.2471, allocations: 0 / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.2471, allocations: 0 / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.043e-05/0.2471, allocations: 0 / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.474e-05/0.2471, allocations: 0 / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.847e-05/0.2472, allocations: 11.94 kB / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.2472, allocations: 0 / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.191e-05/0.2473, allocations: 7.922 kB / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.347e-05/0.2473, allocations: 4 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.2473, allocations: 4 kB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.216e-06/0.2473, allocations: 0 / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.978e-06/0.2473, allocations: 0 / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.2473, allocations: 4 kB / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.235e-05/0.2474, allocations: 7.922 kB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2474, allocations: 0 / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2474, allocations: 0 / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.2474, allocations: 0 / 1.053 GB, free: 7.676 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.000224/0.2476, allocations: 311.6 kB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2477, allocations: 16.62 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.549e-05/0.2477, allocations: 30.75 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.553e-05/0.2477, allocations: 0.9375 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.197e-05/0.2478, allocations: 164.4 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.2478, allocations: 384 / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.2478, allocations: 384 / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.413e-05/0.2479, allocations: 30.27 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2479, allocations: 7.875 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.2479, allocations: 0 / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2479, allocations: 4 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.358e-05/0.248, allocations: 3.984 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.2482, allocations: 379.5 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.38e-05/0.2483, allocations: 173.1 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.2483, allocations: 92.14 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2483, allocations: 79.28 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.2484, allocations: 105.8 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2484, allocations: 0 / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.863e-05/0.2484, allocations: 25.7 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.2485, allocations: 130.7 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.309e-05/0.2486, allocations: 97.86 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.2486, allocations: 29.83 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.542e-05/0.2486, allocations: 80.14 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.2486, allocations: 0 / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.2486, allocations: 13.72 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.2487, allocations: 310.8 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-06/0.2487, allocations: 7.875 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-06/0.2487, allocations: 0 / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.2488, allocations: 75.28 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.198e-05/0.2488, allocations: 83.22 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.043e-05/0.2488, allocations: 33.69 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.2489, allocations: 80.84 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/0.2489, allocations: 87.2 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.364e-05/0.2489, allocations: 158.5 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.242e-05/0.249, allocations: 75.28 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.632e-05/0.249, allocations: 154.5 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.2491, allocations: 79.28 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.2491, allocations: 79.28 kB / 1.056 GB, free: 4.496 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 9.472e-05/0.2492, allocations: 272.3 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.2493, allocations: 101 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.2493, allocations: 108.1 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-05/0.2494, allocations: 184.2 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.307e-05/0.2494, allocations: 176.3 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.775e-05/0.2495, allocations: 184.2 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.2496, allocations: 409.2 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.853e-05/0.2497, allocations: 105.5 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.2497, allocations: 108.9 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.575e-05/0.2498, allocations: 184.3 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.2498, allocations: 180.2 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.467e-05/0.2499, allocations: 180.6 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-05/0.2499, allocations: 176.3 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.974e-05/0.25, allocations: 315.7 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.2501, allocations: 189.9 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.2501, allocations: 180.3 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.073e-05/0.2502, allocations: 105 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.2503, allocations: 180.2 kB / 1.06 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.2503, allocations: 105 kB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.669e-05/0.2503, allocations: 79.28 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2503, allocations: 0 / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002322/0.2506, allocations: 0 / 1.06 GB, free: 0.8281 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.0003199/0.2509, allocations: 0.8127 MB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.97e-05/0.2509, allocations: 4 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2509, allocations: 3.938 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.2509, allocations: 0 / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.2512, allocations: 459.7 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.2521, allocations: 1.528 MB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.2522, allocations: 0.669 MB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.52e-06/0.2522, allocations: 0 / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.2523, allocations: 7.438 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2523, allocations: 3.938 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.85/2.102, allocations: 0.9039 MB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/14.35, allocations: 12.27 kB / 1.064 GB, free: 12.41 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