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.0068/0.0068, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001268/0.001269, allocations: 192.1 kB / 16.79 MB, free: 5.809 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.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.448/2.448, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 71.88 kB / 0.8126 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7437/0.7452, allocations: 140.3 MB / 0.9496 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002209/0.7474, allocations: 0.5967 MB / 0.9502 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.249e-05/0.7475, allocations: 3.984 kB / 0.9502 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.7476, allocations: 1.406 kB / 0.9502 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.7476, allocations: 0 / 0.9502 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.367e-05/0.7477, allocations: 3.938 kB / 0.9502 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.591e-05/0.7477, allocations: 7.875 kB / 0.9502 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.197e-05/0.7478, allocations: 5.188 kB / 0.9502 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.869e-05/0.7478, allocations: 2.656 kB / 0.9502 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.597e-05/0.7478, allocations: 4 kB / 0.9502 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.978e-05/0.7479, allocations: 4 kB / 0.9502 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.7479, allocations: 0 / 0.9502 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-06/0.7479, allocations: 1.281 kB / 0.9502 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.7479, allocations: 0 / 0.9502 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.7479, allocations: 0 / 0.9502 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.168e-05/0.748, allocations: 5.078 kB / 0.9502 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.748, allocations: 1.438 kB / 0.9502 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.748, allocations: 0 / 0.9502 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.748, allocations: 0 / 0.9502 GB, free: 8.855 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.000253/0.7483, allocations: 306 kB / 0.9505 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.7483, allocations: 21.98 kB / 0.9505 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.7484, allocations: 0.9375 kB / 0.9505 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.863e-05/0.7485, allocations: 169.6 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.7485, allocations: 384 / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.7485, allocations: 1.25 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.438e-05/0.7486, allocations: 32.17 kB / 0.9507 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.7486, allocations: 0 / 0.9507 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.7486, allocations: 0 / 0.9507 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.7486, allocations: 3.938 kB / 0.9507 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.454e-05/0.7486, allocations: 6.312 kB / 0.9507 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.7489, allocations: 383.3 kB / 0.9511 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.104e-05/0.749, allocations: 165.1 kB / 0.9513 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.749, allocations: 81.33 kB / 0.9513 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.749, allocations: 83.22 kB / 0.9514 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.749, allocations: 115.1 kB / 0.9515 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.749, allocations: 0 / 0.9515 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.065e-05/0.7491, allocations: 30.78 kB / 0.9516 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.7492, allocations: 126.7 kB / 0.9517 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.838e-05/0.7492, allocations: 93.45 kB / 0.9518 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.7492, allocations: 25.7 kB / 0.9518 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.695e-05/0.7493, allocations: 85.05 kB / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.7493, allocations: 0 / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.7493, allocations: 11.09 kB / 0.9519 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.7493, allocations: 319.8 kB / 0.9522 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.7494, allocations: 0 / 0.9522 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-06/0.7494, allocations: 4.969 kB / 0.9522 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.421e-05/0.7494, allocations: 79.27 kB / 0.9523 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.7494, allocations: 79.22 kB / 0.9524 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.12e-05/0.7495, allocations: 33.23 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.7495, allocations: 79.66 kB / 0.9525 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.7495, allocations: 76.47 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/0.7495, allocations: 155.6 kB / 0.9527 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.097e-05/0.7496, allocations: 76.53 kB / 0.9528 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.7496, allocations: 154.5 kB / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.458e-05/0.7497, allocations: 88.34 kB / 0.953 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.7497, allocations: 80.52 kB / 0.9531 GB, free: 5.766 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.144e-05/0.7497, allocations: 269.2 kB / 0.9533 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.7498, allocations: 102.1 kB / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.7498, allocations: 113 kB / 0.9535 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/0.7498, allocations: 186.8 kB / 0.9537 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.691e-05/0.7499, allocations: 185.8 kB / 0.9539 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.81e-05/0.7499, allocations: 181.5 kB / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.7501, allocations: 398.5 kB / 0.9544 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/0.7501, allocations: 106.1 kB / 0.9545 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.7501, allocations: 110 kB / 0.9546 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.243e-05/0.7502, allocations: 181.3 kB / 0.9548 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.7502, allocations: 181.3 kB / 0.955 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.74e-05/0.7502, allocations: 177.4 kB / 0.9552 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.307e-05/0.7503, allocations: 176.3 kB / 0.9553 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.893e-05/0.7503, allocations: 320.5 kB / 0.9556 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.7504, allocations: 183.1 kB / 0.9558 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.7504, allocations: 181.4 kB / 0.956 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.469e-05/0.7505, allocations: 106.1 kB / 0.9561 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.7505, allocations: 185.3 kB / 0.9563 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.7505, allocations: 102.2 kB / 0.9564 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.452e-05/0.7506, allocations: 81.5 kB / 0.9564 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7506, allocations: 0 / 0.9564 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002706/0.7509, allocations: 0 / 0.9564 GB, free: 2.117 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.0001068/0.751, allocations: 176 kB / 0.9566 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.244e-05/0.751, allocations: 5.156 kB / 0.9566 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.751, allocations: 0 / 0.9566 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.751, allocations: 1.156 kB / 0.9566 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.7513, allocations: 0.5275 MB / 0.9571 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.7515, allocations: 177.1 kB / 0.9573 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.7516, allocations: 0.674 MB / 0.9579 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.7517, allocations: 7.438 kB / 0.958 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.7517, allocations: 1.531 kB / 0.958 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of Templates: time 0.001527/0.7532, allocations: 327.2 kB / 0.9583 GB, free: 356 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/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