Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 104.5 kB / 16.35 MB, free: 5.824 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.001394/0.001394, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 61.44 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3054, allocations: 140.4 MB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001903/0.3073, allocations: 0.5381 MB / 0.9517 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 4.428e-05/0.3074, allocations: 3.938 kB / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.3074, allocations: 0 / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.858e-05/0.3075, allocations: 0 / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.439e-05/0.3075, allocations: 0 / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.682e-05/0.3076, allocations: 4 kB / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.975e-05/0.3076, allocations: 3.984 kB / 0.9517 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.899e-05/0.3077, allocations: 0 / 0.9517 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.3077, allocations: 7.938 kB / 0.9517 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.004e-05/0.3077, allocations: 4 kB / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.3078, allocations: 0 / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-06/0.3078, allocations: 4 kB / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.3078, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.3078, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.775e-05/0.3079, allocations: 3.984 kB / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3079, allocations: 0 / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3079, allocations: 0 / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3079, allocations: 4 kB / 0.9517 GB, free: 7.438 MB / 0.7325 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.0003239/0.3083, allocations: 319.4 kB / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.3083, allocations: 12.06 kB / 0.952 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.3084, allocations: 4.875 kB / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.3085, allocations: 172.3 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3085, allocations: 384 / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.3085, allocations: 384 / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.3086, allocations: 33.83 kB / 0.9522 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3086, allocations: 0 / 0.9522 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3087, allocations: 4 kB / 0.9522 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3087, allocations: 0 / 0.9522 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.3087, allocations: 0 / 0.9522 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.309, allocations: 387.5 kB / 0.9526 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.3092, allocations: 177.1 kB / 0.9528 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.3092, allocations: 84.14 kB / 0.9528 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.3092, allocations: 75.28 kB / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.3093, allocations: 113.8 kB / 0.953 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3093, allocations: 0 / 0.953 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.281e-05/0.3094, allocations: 29.64 kB / 0.953 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.3095, allocations: 130.7 kB / 0.9532 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.3096, allocations: 93.86 kB / 0.9533 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3096, allocations: 25.7 kB / 0.9533 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.3096, allocations: 84.14 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-06/0.3096, allocations: 4.125 kB / 0.9534 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.3097, allocations: 13.72 kB / 0.9534 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3098, allocations: 314.8 kB / 0.9537 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-06/0.3098, allocations: 0 / 0.9537 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-06/0.3098, allocations: 0 / 0.9537 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.3099, allocations: 75.28 kB / 0.9538 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.758e-05/0.3099, allocations: 75.28 kB / 0.9538 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.922e-05/0.31, allocations: 35.8 kB / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.31, allocations: 89.25 kB / 0.9539 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.585e-05/0.3101, allocations: 79.28 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.258e-05/0.3101, allocations: 150.6 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.373e-05/0.3102, allocations: 79.22 kB / 0.9542 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.729e-05/0.3103, allocations: 154.6 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.498e-05/0.3103, allocations: 83.22 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.3104, allocations: 75.28 kB / 0.9545 GB, free: 4.297 MB / 0.7325 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.000135/0.3105, allocations: 268.3 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.3106, allocations: 104.9 kB / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.3106, allocations: 116 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-05/0.3107, allocations: 176.3 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.52e-05/0.3108, allocations: 180.2 kB / 0.9553 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.369e-05/0.3108, allocations: 188.2 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.3111, allocations: 409.2 kB / 0.9559 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-05/0.3111, allocations: 104.9 kB / 0.956 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.3111, allocations: 105 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-05/0.3112, allocations: 184.2 kB / 0.9563 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.372e-05/0.3113, allocations: 180.3 kB / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.9e-05/0.3114, allocations: 176.6 kB / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.425e-05/0.3114, allocations: 180.2 kB / 0.9568 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.3116, allocations: 315.7 kB / 0.9571 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/0.3117, allocations: 186.1 kB / 0.9573 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.3117, allocations: 176.3 kB / 0.9575 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.3118, allocations: 116.9 kB / 0.9576 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.3119, allocations: 176.3 kB / 0.9577 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.312, allocations: 108.9 kB / 0.9578 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.312, allocations: 75.28 kB / 0.9579 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.312, allocations: 96 / 0.9579 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002432/0.3123, allocations: 4 kB / 0.9579 GB, free: 0.6172 MB / 0.7325 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.0001551/0.3124, allocations: 174.5 kB / 0.9581 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.933e-05/0.3125, allocations: 0 / 0.9581 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3125, allocations: 0 / 0.9581 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.3125, allocations: 0 / 0.9581 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.3129, allocations: 471.6 kB / 0.9585 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.3131, allocations: 160.2 kB / 0.9587 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.3134, allocations: 0.6727 MB / 0.9593 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.544e-06/0.3134, allocations: 0 / 0.9593 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.3134, allocations: 7.438 kB / 0.9593 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of SimCode: time 4.6e-07/0.3135, allocations: 0 / 0.9593 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of Templates: time 0.001833/0.3153, allocations: 168.7 kB / 0.9595 GB, free: 14.92 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches