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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001224/0.001224, allocations: 195.7 kB / 16.14 MB, free: 6.648 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.236/1.236, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.466/2.466, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 70.52 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2642, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001563/0.2658, allocations: 0.6221 MB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.264e-05/0.2658, allocations: 0 / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.2658, allocations: 3.938 kB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.2659, allocations: 0 / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.273e-05/0.2659, allocations: 0 / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.472e-05/0.2659, allocations: 0 / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.621e-05/0.266, allocations: 7.938 kB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.266, allocations: 4 kB / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.071e-05/0.266, allocations: 0 / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.318e-05/0.266, allocations: 0 / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.2661, allocations: 0 / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.116e-06/0.2661, allocations: 4 kB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.497e-06/0.2661, allocations: 0 / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.2661, allocations: 0 / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.323e-05/0.2661, allocations: 15.92 kB / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.2662, allocations: 0 / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2662, allocations: 0 / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.2662, allocations: 0 / 1.053 GB, free: 7.531 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.000246/0.2664, allocations: 311.6 kB / 1.053 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2665, allocations: 15.95 kB / 1.053 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.447e-05/0.2665, allocations: 30.75 kB / 1.053 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.456e-05/0.2665, allocations: 4.938 kB / 1.053 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.134e-05/0.2666, allocations: 160.4 kB / 1.053 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.2666, allocations: 4.375 kB / 1.053 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.2666, allocations: 4.375 kB / 1.053 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.768e-05/0.2667, allocations: 26.27 kB / 1.053 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2667, allocations: 7.875 kB / 1.053 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-06/0.2667, allocations: 0 / 1.053 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2667, allocations: 0 / 1.053 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.238e-05/0.2667, allocations: 11.92 kB / 1.053 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.267, allocations: 383.5 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.884e-05/0.2671, allocations: 173.1 kB / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.2671, allocations: 84.08 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2672, allocations: 75.28 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.2672, allocations: 109.8 kB / 1.054 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.2672, allocations: 0 / 1.054 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.856e-05/0.2673, allocations: 37.72 kB / 1.054 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.2673, allocations: 126.7 kB / 1.054 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.2674, allocations: 97.86 kB / 1.054 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.996e-06/0.2674, allocations: 25.7 kB / 1.054 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.2674, allocations: 84.27 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.2675, allocations: 0 / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.2675, allocations: 9.719 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2676, allocations: 310.8 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-06/0.2676, allocations: 7.938 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.2676, allocations: 3.984 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.172e-05/0.2676, allocations: 79.22 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.157e-05/0.2677, allocations: 79.22 kB / 1.055 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.725e-05/0.2677, allocations: 29.7 kB / 1.055 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.2677, allocations: 83.28 kB / 1.055 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.2678, allocations: 79.28 kB / 1.055 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.251e-05/0.2678, allocations: 154.5 kB / 1.055 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.993e-05/0.2679, allocations: 75.28 kB / 1.055 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.526e-05/0.2679, allocations: 162.5 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.268, allocations: 79.27 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.268, allocations: 79.28 kB / 1.056 GB, free: 4.344 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.0001084/0.2681, allocations: 272.3 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.2682, allocations: 101 kB / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.2682, allocations: 104.1 kB / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-05/0.2683, allocations: 180.2 kB / 1.056 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.538e-05/0.2683, allocations: 188.2 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.535e-05/0.2684, allocations: 180.2 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.2686, allocations: 401.2 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.229e-05/0.2686, allocations: 113 kB / 1.057 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.747e-05/0.2687, allocations: 104.9 kB / 1.057 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.931e-05/0.2687, allocations: 180.6 kB / 1.057 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/0.2688, allocations: 180.2 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.485e-05/0.2689, allocations: 184.3 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.087e-05/0.2689, allocations: 184.3 kB / 1.058 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.269, allocations: 303.7 kB / 1.058 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.2691, allocations: 193.9 kB / 1.058 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.2692, allocations: 188.2 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.2693, allocations: 105 kB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.2693, allocations: 180.2 kB / 1.059 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.2694, allocations: 101 kB / 1.059 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.2694, allocations: 83.28 kB / 1.059 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2694, allocations: 0 / 1.059 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002284/0.2696, allocations: 0 / 1.059 GB, free: 0.6719 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.0003588/0.27, allocations: 0.8087 MB / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 2.627e-05/0.27, allocations: 4.094 kB / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2701, allocations: 0 / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.2701, allocations: 0 / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.2704, allocations: 0.5301 MB / 1.06 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008564/0.2713, allocations: 1.522 MB / 1.062 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.2715, allocations: 0.677 MB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.642e-06/0.2715, allocations: 0 / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.2715, allocations: 7.438 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.2715, allocations: 0 / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1339/0.4054, allocations: 0.7836 MB / 1.063 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.4057, allocations: 219.5 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.191, allocations: 4.5 kB / 1.064 GB, free: 12.08 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