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.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.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.00113/0.00113, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.59/2.59, allocations: 390.2 MB / 0.6646 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 55.91 kB / 0.8125 GB, free: 14.42 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9855/0.9868, allocations: 140.4 MB / 0.9496 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001835/0.9887, allocations: 0.5269 MB / 0.9501 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 2.899e-05/0.9887, allocations: 5.375 kB / 0.9501 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.509e-05/0.9887, allocations: 0 / 0.9501 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.9888, allocations: 3.938 kB / 0.9501 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.065e-05/0.9888, allocations: 4 kB / 0.9501 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 1.475e-05/0.9888, allocations: 1.375 kB / 0.9501 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.38e-05/0.9888, allocations: 1.375 kB / 0.9501 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.054e-05/0.9889, allocations: 5.359 kB / 0.9501 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.532e-06/0.9889, allocations: 0 / 0.9501 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.537e-06/0.9889, allocations: 5.312 kB / 0.9502 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.471e-06/0.9889, allocations: 0 / 0.9502 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.074e-06/0.9889, allocations: 0 / 0.9502 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.662e-06/0.9889, allocations: 4 kB / 0.9502 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.9889, allocations: 1.375 kB / 0.9502 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.601e-05/0.989, allocations: 5.359 kB / 0.9502 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.989, allocations: 4 kB / 0.9502 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.989, allocations: 0 / 0.9502 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.989, allocations: 0 / 0.9502 GB, free: 8.805 MB / 0.7169 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.0002712/0.9893, allocations: 311.7 kB / 0.9505 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.9893, allocations: 8.25 kB / 0.9505 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.9894, allocations: 2.312 kB / 0.9505 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.183e-05/0.9895, allocations: 168.3 kB / 0.9506 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.9895, allocations: 1.75 kB / 0.9506 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.9895, allocations: 384 / 0.9506 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.037e-05/0.9896, allocations: 48.44 kB / 0.9507 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.9896, allocations: 0 / 0.9507 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.9896, allocations: 0 / 0.9507 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.9896, allocations: 3.938 kB / 0.9507 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.564e-05/0.9896, allocations: 1.375 kB / 0.9507 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/0.9899, allocations: 383.6 kB / 0.9511 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.003e-05/0.99, allocations: 174.5 kB / 0.9512 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.99, allocations: 80.14 kB / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.99, allocations: 79.27 kB / 0.9514 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.99, allocations: 111.2 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.99, allocations: 0 / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.204e-05/0.9901, allocations: 27.08 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.9902, allocations: 134.6 kB / 0.9516 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.544e-05/0.9902, allocations: 93.98 kB / 0.9517 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.9902, allocations: 25.7 kB / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.984e-05/0.9903, allocations: 80.14 kB / 0.9518 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.9903, allocations: 0 / 0.9518 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.9903, allocations: 11.09 kB / 0.9518 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.9903, allocations: 324.1 kB / 0.9521 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-06/0.9904, allocations: 4.125 kB / 0.9521 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-06/0.9904, allocations: 0 / 0.9521 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.93e-05/0.9904, allocations: 76.66 kB / 0.9522 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.9904, allocations: 75.28 kB / 0.9523 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.573e-05/0.9905, allocations: 28.45 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.9905, allocations: 82.03 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.9905, allocations: 79.22 kB / 0.9525 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.759e-05/0.9905, allocations: 151.9 kB / 0.9526 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.303e-05/0.9906, allocations: 88.62 kB / 0.9527 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/0.9906, allocations: 158.5 kB / 0.9529 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.9907, allocations: 76.66 kB / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.9907, allocations: 84.59 kB / 0.953 GB, free: 5.711 MB / 0.7169 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 6.237e-05/0.9907, allocations: 261.7 kB / 0.9533 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.9908, allocations: 106.4 kB / 0.9534 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.9908, allocations: 113.2 kB / 0.9535 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/0.9909, allocations: 184.2 kB / 0.9536 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.568e-05/0.9909, allocations: 179.1 kB / 0.9538 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.001e-05/0.9909, allocations: 185.5 kB / 0.954 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.9911, allocations: 406.5 kB / 0.9544 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.9911, allocations: 106.3 kB / 0.9545 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.9911, allocations: 105 kB / 0.9546 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-05/0.9912, allocations: 177.6 kB / 0.9547 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.9912, allocations: 181.6 kB / 0.9549 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.024e-05/0.9912, allocations: 181.6 kB / 0.9551 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-05/0.9913, allocations: 184.2 kB / 0.9553 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.531e-05/0.9913, allocations: 311.8 kB / 0.9556 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.9914, allocations: 187.8 kB / 0.9557 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.9914, allocations: 177.6 kB / 0.9559 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.9915, allocations: 108.9 kB / 0.956 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.9916, allocations: 181.7 kB / 0.9562 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.9916, allocations: 110.3 kB / 0.9563 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.668e-05/0.9917, allocations: 76.66 kB / 0.9564 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9917, allocations: 1.375 kB / 0.9564 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000244/0.9919, allocations: 0 / 0.9564 GB, free: 2.062 MB / 0.7169 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.000124/0.992, allocations: 180.5 kB / 0.9565 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.934e-05/0.9921, allocations: 0 / 0.9565 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9921, allocations: 1.375 kB / 0.9565 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.9921, allocations: 0 / 0.9565 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.9924, allocations: 461 kB / 0.957 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.9926, allocations: 156.5 kB / 0.9571 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.9927, allocations: 0.6818 MB / 0.9578 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.294e-06/0.9927, allocations: 0 / 0.9578 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.409e-05/0.9928, allocations: 7.438 kB / 0.9578 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9928, allocations: 0 / 0.9578 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of Templates: time 0.002102/0.9949, allocations: 166.2 kB / 0.958 GB, free: 472 kB / 0.7169 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 -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/jenkins/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