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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: 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.001451/0.001451, allocations: 105 kB / 16.27 MB, free: 6.414 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.001499/0.001499, allocations: 189.4 kB / 17.2 MB, free: 5.953 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.645/2.645, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 68.7 kB / 0.9245 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7124, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001599/0.7141, allocations: 0.5422 MB / 1.083 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 3.303e-05/0.7141, allocations: 4.797 kB / 1.083 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.7142, allocations: 1.219 kB / 1.083 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.7142, allocations: 0 / 1.083 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.416e-05/0.7142, allocations: 0 / 1.083 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.896e-05/0.7142, allocations: 1.438 kB / 1.083 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.243e-05/0.7143, allocations: 4.875 kB / 1.083 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/0.7143, allocations: 6.047 kB / 1.083 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.7144, allocations: 1.156 kB / 1.083 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.45e-05/0.7144, allocations: 0 / 1.083 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.7144, allocations: 0 / 1.083 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.836e-06/0.7144, allocations: 1.156 kB / 1.083 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.7144, allocations: 4.75 kB / 1.083 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.7144, allocations: 1.125 kB / 1.083 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.628e-05/0.7145, allocations: 6.578 kB / 1.083 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7145, allocations: 3.938 kB / 1.084 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7145, allocations: 3.938 kB / 1.084 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.7145, allocations: 0 / 1.084 GB, free: 1.277 MB / 0.8262 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.0002013/0.7147, allocations: 313.2 kB / 1.084 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.7148, allocations: 10.25 kB / 1.084 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.7148, allocations: 0.9375 kB / 1.084 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.413e-05/0.7149, allocations: 167.3 kB / 1.084 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.7149, allocations: 384 / 1.084 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.7149, allocations: 1.656 kB / 1.084 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.574e-05/0.715, allocations: 28.34 kB / 1.084 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.715, allocations: 192 / 1.084 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.715, allocations: 9.219 kB / 1.084 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.715, allocations: 0 / 1.084 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.348e-05/0.715, allocations: 1.469 kB / 1.084 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.7152, allocations: 385.9 kB / 1.084 GB, free: 272 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.302e-05/0.7153, allocations: 170.9 kB / 1.085 GB, free: 92 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.347e-05/0.7153, allocations: 85.36 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.817e-05/0.7153, allocations: 75.28 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/0.7154, allocations: 111.7 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.7154, allocations: 0 / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 6.559e-05/0.7155, allocations: 31.81 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.7155, allocations: 127.5 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.632e-05/0.7156, allocations: 101.9 kB / 1.085 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.7157, allocations: 25.7 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.7157, allocations: 82.31 kB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-06/0.7157, allocations: 0 / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.7157, allocations: 11.09 kB / 1.085 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.7159, allocations: 316.9 kB / 1.085 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-06/0.7159, allocations: 0 / 1.085 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-06/0.7159, allocations: 0 / 1.085 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.7159, allocations: 81.72 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-05/0.716, allocations: 75.28 kB / 1.086 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.942e-05/0.716, allocations: 40.19 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.7161, allocations: 80.09 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.084e-05/0.7161, allocations: 77.3 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.416e-05/0.7162, allocations: 155.6 kB / 1.086 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.293e-05/0.7162, allocations: 85.52 kB / 1.086 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.531e-05/0.7163, allocations: 159.4 kB / 1.086 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.7164, allocations: 84.59 kB / 1.086 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.7164, allocations: 77.2 kB / 1.086 GB, free: 14.2 MB / 0.8419 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.0001234/0.7165, allocations: 262.4 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.7166, allocations: 107.1 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.7167, allocations: 106.7 kB / 1.087 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-05/0.7167, allocations: 186.8 kB / 1.087 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.809e-05/0.7168, allocations: 182.7 kB / 1.087 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.086e-05/0.7169, allocations: 177.3 kB / 1.087 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.7172, allocations: 406.2 kB / 1.088 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.403e-05/0.7172, allocations: 102.6 kB / 1.088 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.7173, allocations: 109.6 kB / 1.088 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.923e-05/0.7173, allocations: 182.4 kB / 1.088 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.7175, allocations: 178.5 kB / 1.088 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.485e-05/0.7175, allocations: 182.4 kB / 1.088 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.17e-05/0.7176, allocations: 177.1 kB / 1.089 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.7178, allocations: 316.9 kB / 1.089 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/0.7179, allocations: 181.5 kB / 1.089 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.362e-05/0.718, allocations: 182.4 kB / 1.089 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.7181, allocations: 102.1 kB / 1.089 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.7182, allocations: 183.9 kB / 1.09 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.7182, allocations: 112.9 kB / 1.09 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.205e-05/0.7183, allocations: 77.88 kB / 1.09 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.7183, allocations: 0.9062 kB / 1.09 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000266/0.7185, allocations: 0 / 1.09 GB, free: 10.58 MB / 0.8419 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.0001468/0.7187, allocations: 174 kB / 1.09 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 3.894e-05/0.7187, allocations: 0.7031 kB / 1.09 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7187, allocations: 9.344 kB / 1.09 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.7188, allocations: 0 / 1.09 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.7191, allocations: 465.7 kB / 1.09 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002223/0.7194, allocations: 178.9 kB / 1.09 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.7197, allocations: 0.6722 MB / 1.091 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.7197, allocations: 7.438 kB / 1.091 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.7197, allocations: 4 kB / 1.091 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of Templates: time 0.001494/0.7212, allocations: 329.3 kB / 1.091 GB, free: 9.031 MB / 0.8419 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=400 -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/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