Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_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.001507/0.001507, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001362/0.001363, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 71 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.284, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001692/0.2857, allocations: 0.6144 MB / 1.053 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.058e-05/0.2858, allocations: 7.938 kB / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.2858, allocations: 3.938 kB / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.2858, allocations: 0 / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.542e-05/0.2859, allocations: 0 / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.836e-05/0.2859, allocations: 0 / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.295e-05/0.2859, allocations: 0 / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.286, allocations: 7.984 kB / 1.053 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.317e-05/0.286, allocations: 0 / 1.053 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.476e-05/0.286, allocations: 0 / 1.053 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.2861, allocations: 0 / 1.053 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.817e-06/0.2861, allocations: 4 kB / 1.053 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.2861, allocations: 4 kB / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.2861, allocations: 3.984 kB / 1.053 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.266e-05/0.2862, allocations: 11.94 kB / 1.053 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2862, allocations: 0 / 1.053 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2862, allocations: 0 / 1.053 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2862, allocations: 0 / 1.053 GB, free: 7.98 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.0002344/0.2864, allocations: 311.6 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2865, allocations: 8.625 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.2865, allocations: 30.75 kB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.912e-05/0.2865, allocations: 8.938 kB / 1.053 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.07e-05/0.2866, allocations: 164.3 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.2866, allocations: 4.375 kB / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-06/0.2866, allocations: 384 / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.687e-05/0.2867, allocations: 30.2 kB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.2867, allocations: 3.938 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.2867, allocations: 0 / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.2868, allocations: 0 / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.349e-05/0.2868, allocations: 4 kB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.287, allocations: 387.5 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.413e-05/0.2871, allocations: 169.1 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.2871, allocations: 80.14 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.2872, allocations: 79.27 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2872, allocations: 113.8 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.2872, allocations: 0 / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.438e-05/0.2873, allocations: 37.67 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.2873, allocations: 126.7 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.2874, allocations: 93.86 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.2874, allocations: 25.7 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.2874, allocations: 80.27 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.2874, allocations: 4 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/0.2875, allocations: 13.72 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.761e-05/0.2875, allocations: 314.8 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.2875, allocations: 4 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.2876, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.958e-05/0.2876, allocations: 79.22 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/0.2876, allocations: 79.22 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.636e-05/0.2877, allocations: 29.64 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.2877, allocations: 89.16 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.2877, allocations: 75.28 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.701e-05/0.2878, allocations: 150.6 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.028e-05/0.2878, allocations: 83.22 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.004e-05/0.2878, allocations: 162.5 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.588e-05/0.2879, allocations: 79.22 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.2879, allocations: 79.28 kB / 1.056 GB, free: 4.801 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 8.586e-05/0.288, allocations: 264.3 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.2881, allocations: 101 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.2881, allocations: 108 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-05/0.2882, allocations: 184.2 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.762e-05/0.2882, allocations: 188.2 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.232e-05/0.2883, allocations: 176.5 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.2884, allocations: 401.2 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/0.2885, allocations: 117 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.746e-05/0.2885, allocations: 105 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.402e-05/0.2886, allocations: 180.2 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.2886, allocations: 180.3 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.516e-05/0.2887, allocations: 188.2 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.444e-05/0.2887, allocations: 180.2 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.2888, allocations: 307.7 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.2889, allocations: 190 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.2889, allocations: 176.3 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.991e-05/0.289, allocations: 108.9 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.2891, allocations: 180.3 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.2891, allocations: 104.9 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.045e-05/0.2891, allocations: 83.28 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2891, allocations: 0 / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002278/0.2894, allocations: 0 / 1.059 GB, free: 1.133 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.000314/0.2897, allocations: 0.8048 MB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 3.62e-05/0.2897, allocations: 4.031 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2897, allocations: 4 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.2897, allocations: 0 / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.2901, allocations: 465.2 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007867/0.2909, allocations: 1.52 MB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.291, allocations: 0.6807 MB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.62e-06/0.2911, allocations: 0 / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.2911, allocations: 7.438 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.2911, allocations: 0 / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4047/0.6957, allocations: 0.8227 MB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002899/0.6961, allocations: 222.5 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.055, allocations: 4.062 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches