Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.008713/0.008713, allocations: 97.47 kB / 15.73 MB, free: 6.008 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.00193/0.00193, allocations: 195.1 kB / 16.68 MB, free: 5.934 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.91 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9875/0.9889, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002338/0.9913, allocations: 0.5421 MB / 1.088 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 6.01e-05/0.9914, allocations: 8.938 kB / 1.088 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.9915, allocations: 0 / 1.088 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.9915, allocations: 0 / 1.088 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.594e-05/0.9916, allocations: 5.188 kB / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.839e-05/0.9916, allocations: 0.5156 kB / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.761e-05/0.9917, allocations: 1.734 kB / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.9918, allocations: 3 kB / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.172e-05/0.9918, allocations: 0 / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.835e-05/0.9918, allocations: 0 / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.9919, allocations: 1.5 kB / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.129e-06/0.9919, allocations: 0 / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.9919, allocations: 7.922 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.9919, allocations: 1.469 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.785e-05/0.992, allocations: 9.922 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.992, allocations: 1.281 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.675e-06/0.992, allocations: 0 / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.9921, allocations: 3.938 kB / 1.089 GB, free: 5.129 MB / 0.8575 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.0004233/0.9925, allocations: 316 kB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.9926, allocations: 8.406 kB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.9926, allocations: 2.031 kB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.9928, allocations: 162.8 kB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.9928, allocations: 4.359 kB / 1.089 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.9928, allocations: 5.406 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.9929, allocations: 32.91 kB / 1.089 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.9929, allocations: 1.25 kB / 1.089 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.993, allocations: 3.938 kB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.993, allocations: 0 / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.993, allocations: 2.344 kB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.9933, allocations: 382.2 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.886e-05/0.9934, allocations: 174.1 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.9935, allocations: 80.14 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.9935, allocations: 76.92 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.9935, allocations: 111.5 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.9935, allocations: 0 / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.631e-05/0.9936, allocations: 35.5 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.9937, allocations: 126.7 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/0.9938, allocations: 98.58 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.9938, allocations: 26.73 kB / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.9938, allocations: 80.14 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.9938, allocations: 0 / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.9938, allocations: 12.12 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.745e-05/0.9939, allocations: 316.4 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-06/0.9939, allocations: 0 / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-06/0.9939, allocations: 0.5625 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.23e-05/0.994, allocations: 76.34 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/0.994, allocations: 79.28 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.31e-05/0.994, allocations: 40.55 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.9941, allocations: 82.03 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.9941, allocations: 76.62 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.886e-05/0.9942, allocations: 159.2 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.068e-05/0.9942, allocations: 81.17 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-05/0.9942, allocations: 152.5 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/0.9943, allocations: 85.14 kB / 1.091 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.9943, allocations: 75.28 kB / 1.091 GB, free: 2.059 MB / 0.8575 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.0002302/0.9946, allocations: 271.5 kB / 1.092 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/0.9946, allocations: 106.1 kB / 1.092 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.968e-05/0.9947, allocations: 107 kB / 1.092 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.787e-05/0.9948, allocations: 177.9 kB / 1.092 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001027/0.9949, allocations: 185.4 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.281e-05/0.995, allocations: 181.9 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.9953, allocations: 409.9 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.854e-05/0.9954, allocations: 102.6 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.9955, allocations: 102.3 kB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.445e-05/0.9956, allocations: 181.6 kB / 1.093 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-05/0.9957, allocations: 182.7 kB / 1.093 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.404e-05/0.9958, allocations: 182 kB / 1.093 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.974e-05/0.9959, allocations: 186.1 kB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.996, allocations: 308.7 kB / 1.094 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/0.9962, allocations: 185.6 kB / 1.094 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-05/0.9963, allocations: 182.1 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.9963, allocations: 110.8 kB / 1.094 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.9964, allocations: 176.8 kB / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.9965, allocations: 107.5 kB / 1.095 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.9965, allocations: 81.69 kB / 1.095 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9965, allocations: 0 / 1.095 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003057/0.9969, allocations: 1.453 kB / 1.095 GB, free: 14.43 MB / 0.8731 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.0001769/0.997, allocations: 178.3 kB / 1.095 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.673e-05/0.9971, allocations: 1.219 kB / 1.095 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.9971, allocations: 0 / 1.095 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.9971, allocations: 1.031 kB / 1.095 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.9976, allocations: 461.4 kB / 1.095 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.9979, allocations: 154.8 kB / 1.095 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.9982, allocations: 0.6714 MB / 1.096 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.129e-05/0.9982, allocations: 1.062 kB / 1.096 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.9982, allocations: 7.438 kB / 1.096 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/0.9982, allocations: 0 / 1.096 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.002514/1.001, allocations: 169.1 kB / 1.096 GB, free: 12.87 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches