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.001787/0.001787, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002416/0.002416, allocations: 191 kB / 16.25 MB, free: 6.637 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.445 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.415/2.415, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 71.88 kB / 0.8121 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7465/0.748, allocations: 140.4 MB / 0.9491 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001702/0.7497, allocations: 0.6073 MB / 0.9497 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.582e-05/0.7498, allocations: 4 kB / 0.9497 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.7498, allocations: 1.219 kB / 0.9497 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.7499, allocations: 0 / 0.9497 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.341e-05/0.7499, allocations: 0 / 0.9497 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.267e-05/0.7499, allocations: 0 / 0.9497 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.449e-05/0.75, allocations: 1.688 kB / 0.9497 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.689e-05/0.75, allocations: 5.344 kB / 0.9497 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.52e-05/0.7501, allocations: 5.609 kB / 0.9497 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.693e-05/0.7501, allocations: 3.938 kB / 0.9497 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.7501, allocations: 3.938 kB / 0.9497 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.529e-06/0.7501, allocations: 1.312 kB / 0.9497 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.7501, allocations: 4 kB / 0.9497 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.7502, allocations: 0 / 0.9497 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.363e-05/0.7502, allocations: 5.672 kB / 0.9497 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7502, allocations: 0 / 0.9497 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7502, allocations: 0 / 0.9497 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7502, allocations: 3.938 kB / 0.9497 GB, free: 8.789 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.0002574/0.7505, allocations: 310.8 kB / 0.95 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.7505, allocations: 10.03 kB / 0.9501 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.7506, allocations: 0.9375 kB / 0.9501 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.797e-05/0.7507, allocations: 169.6 kB / 0.9502 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.7507, allocations: 4.375 kB / 0.9502 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.7507, allocations: 1.75 kB / 0.9502 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.773e-05/0.7508, allocations: 34.86 kB / 0.9503 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.7508, allocations: 1.344 kB / 0.9503 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.7508, allocations: 4 kB / 0.9503 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.7508, allocations: 0 / 0.9503 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.58e-05/0.7508, allocations: 5.375 kB / 0.9503 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.751, allocations: 382.5 kB / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.719e-05/0.7511, allocations: 166.6 kB / 0.9508 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.7511, allocations: 84.14 kB / 0.9509 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.7511, allocations: 76.66 kB / 0.9509 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.7512, allocations: 109.8 kB / 0.951 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.7512, allocations: 1.344 kB / 0.951 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.051e-05/0.7512, allocations: 29.7 kB / 0.9511 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.7513, allocations: 128.3 kB / 0.9512 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.728e-05/0.7514, allocations: 100.8 kB / 0.9513 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.76e-06/0.7514, allocations: 25.7 kB / 0.9513 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.547e-05/0.7514, allocations: 81.48 kB / 0.9514 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.7514, allocations: 0 / 0.9514 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/0.7514, allocations: 11.5 kB / 0.9514 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.7515, allocations: 318.8 kB / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-06/0.7515, allocations: 0 / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-06/0.7515, allocations: 0 / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.423e-05/0.7515, allocations: 80.78 kB / 0.9518 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.7515, allocations: 75.28 kB / 0.9519 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.394e-05/0.7516, allocations: 36.28 kB / 0.9519 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.7516, allocations: 80.78 kB / 0.952 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.7516, allocations: 75.28 kB / 0.952 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/0.7516, allocations: 155.9 kB / 0.9522 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.145e-05/0.7517, allocations: 76.62 kB / 0.9523 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.5e-05/0.7517, allocations: 154.6 kB / 0.9524 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.7517, allocations: 92.52 kB / 0.9525 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.7518, allocations: 80.7 kB / 0.9526 GB, free: 5.703 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.293e-05/0.7518, allocations: 265.6 kB / 0.9528 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.7519, allocations: 106.4 kB / 0.9529 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.7519, allocations: 109.1 kB / 0.953 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.7519, allocations: 189.7 kB / 0.9532 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.406e-05/0.752, allocations: 185.7 kB / 0.9534 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/0.752, allocations: 185.4 kB / 0.9536 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.7521, allocations: 402.5 kB / 0.954 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/0.7521, allocations: 102.4 kB / 0.9541 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.7522, allocations: 118.3 kB / 0.9542 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.38e-05/0.7522, allocations: 176.3 kB / 0.9543 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.7522, allocations: 177.6 kB / 0.9545 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.268e-05/0.7522, allocations: 181.6 kB / 0.9547 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.201e-05/0.7523, allocations: 176.3 kB / 0.9548 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.297e-05/0.7523, allocations: 320.2 kB / 0.9552 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.7524, allocations: 179.5 kB / 0.9553 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.7524, allocations: 181.6 kB / 0.9555 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.313e-05/0.7525, allocations: 106.4 kB / 0.9556 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.7525, allocations: 188.2 kB / 0.9558 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.7525, allocations: 106.4 kB / 0.9559 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.95e-05/0.7525, allocations: 78.03 kB / 0.956 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7525, allocations: 0 / 0.956 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002426/0.7528, allocations: 0 / 0.956 GB, free: 2.047 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.0001081/0.7529, allocations: 172.4 kB / 0.9561 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.531e-05/0.753, allocations: 1.375 kB / 0.9561 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.753, allocations: 4.094 kB / 0.9561 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.753, allocations: 3.938 kB / 0.9561 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.7532, allocations: 467.6 kB / 0.9566 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001648/0.7534, allocations: 149.8 kB / 0.9567 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.7535, allocations: 0.6741 MB / 0.9574 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.183e-06/0.7535, allocations: 0 / 0.9574 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.7536, allocations: 12.81 kB / 0.9574 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7536, allocations: 0 / 0.9574 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of Templates: time 0.001784/0.7553, allocations: 161.5 kB / 0.9575 GB, free: 464 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