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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000781/0.000781, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006453/0.006453, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.568/1.568, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.983/2.983, allocations: 462.7 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003962, allocations: 11.41 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4318, allocations: 159.6 MB / 1.059 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0008336/0.4327, allocations: 282 kB / 1.059 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.26e-05/0.4327, allocations: 0 / 1.059 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.4328, allocations: 7.938 kB / 1.059 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.4328, allocations: 0 / 1.059 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.616e-05/0.4328, allocations: 0 / 1.059 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-05/0.4329, allocations: 0 / 1.059 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.745e-05/0.4329, allocations: 0 / 1.059 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.075e-05/0.433, allocations: 4 kB / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.433, allocations: 4 kB / 1.059 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.995e-05/0.433, allocations: 4 kB / 1.059 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.4331, allocations: 0 / 1.059 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.519e-06/0.4331, allocations: 0 / 1.059 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.4331, allocations: 3.984 kB / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.4331, allocations: 25.7 kB / 1.059 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.603e-05/0.4332, allocations: 7.922 kB / 1.059 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.4332, allocations: 0 / 1.059 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4332, allocations: 4 kB / 1.059 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.4332, allocations: 0 / 1.059 GB, free: 5.066 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.0003089/0.4335, allocations: 311.5 kB / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4336, allocations: 8.094 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.4336, allocations: 4.938 kB / 1.059 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.4338, allocations: 168.3 kB / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4338, allocations: 384 / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.4338, allocations: 384 / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.43e-05/0.4339, allocations: 30.27 kB / 1.06 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4339, allocations: 4.188 kB / 1.06 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.434, allocations: 3.938 kB / 1.06 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.434, allocations: 0 / 1.06 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.479e-05/0.434, allocations: 4 kB / 1.06 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.4343, allocations: 383.5 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/0.4344, allocations: 169.1 kB / 1.06 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.4344, allocations: 80.14 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.4345, allocations: 79.28 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.4345, allocations: 109.9 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.4345, allocations: 0 / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.985e-05/0.4346, allocations: 29.64 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.4347, allocations: 126.7 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.4348, allocations: 101.8 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.4348, allocations: 29.77 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.4348, allocations: 84.17 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.4348, allocations: 0 / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.4348, allocations: 9.719 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.435, allocations: 314.8 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-06/0.435, allocations: 4 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-06/0.435, allocations: 0 / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.459e-05/0.435, allocations: 75.28 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-05/0.435, allocations: 83.22 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.92e-05/0.4351, allocations: 37.58 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.4351, allocations: 87.27 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.4352, allocations: 75.28 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.848e-05/0.4352, allocations: 150.6 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.259e-05/0.4353, allocations: 79.22 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.925e-05/0.4353, allocations: 154.6 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.4354, allocations: 87.22 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.4354, allocations: 75.28 kB / 1.062 GB, free: 1.934 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.0001208/0.4356, allocations: 268.3 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.4356, allocations: 105 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.4357, allocations: 108 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.82e-05/0.4357, allocations: 176.3 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.01e-05/0.4358, allocations: 188.2 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.347e-05/0.4359, allocations: 180.3 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.4361, allocations: 401.4 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-05/0.4362, allocations: 108.9 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/0.4362, allocations: 105 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.265e-05/0.4363, allocations: 192.2 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.833e-05/0.4364, allocations: 180.3 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-05/0.4364, allocations: 180.3 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.168e-05/0.4365, allocations: 180.2 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.4366, allocations: 315.7 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.4367, allocations: 178.1 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.4368, allocations: 176.3 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.4369, allocations: 108.9 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.4369, allocations: 180.2 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.437, allocations: 104.9 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.761e-05/0.437, allocations: 87.28 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.437, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002535/0.4373, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8262 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.0001618/0.4375, allocations: 170.5 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.949e-05/0.4375, allocations: 0 / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4375, allocations: 0 / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.434e-06/0.4375, allocations: 7.938 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.438, allocations: 0.5263 MB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002155/0.4382, allocations: 161.9 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.4384, allocations: 0.6731 MB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.696e-06/0.4385, allocations: 0 / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.4385, allocations: 11.44 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.4385, allocations: 4 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of Templates: time 0.00201/0.4405, allocations: 152.9 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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