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.001568/0.001568, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001843/0.001843, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.481/1.481, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.524/2.524, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7924/0.7937, allocations: 140.3 MB / 0.9489 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001778/0.7955, allocations: 0.6064 MB / 0.9495 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.789e-05/0.7955, allocations: 1.062 kB / 0.9495 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.7956, allocations: 0 / 0.9495 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.7956, allocations: 1.125 kB / 0.9495 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.75e-05/0.7957, allocations: 0 / 0.9495 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.5e-05/0.7957, allocations: 7.938 kB / 0.9495 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.226e-05/0.7957, allocations: 5.156 kB / 0.9495 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.7958, allocations: 6.547 kB / 0.9495 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.665e-05/0.7958, allocations: 0 / 0.9495 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.821e-05/0.7959, allocations: 0 / 0.9495 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.7959, allocations: 1.344 kB / 0.9495 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-06/0.7959, allocations: 0 / 0.9495 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.7959, allocations: 0 / 0.9495 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.7959, allocations: 4 kB / 0.9495 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.849e-05/0.796, allocations: 5.328 kB / 0.9496 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.796, allocations: 7.938 kB / 0.9496 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.91e-07/0.796, allocations: 1.062 kB / 0.9496 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.796, allocations: 0 / 0.9496 GB, free: 8.766 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.0002345/0.7962, allocations: 311 kB / 0.9499 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.7963, allocations: 8.812 kB / 0.9499 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.7963, allocations: 2.188 kB / 0.9499 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.113e-05/0.7964, allocations: 168.2 kB / 0.95 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.7964, allocations: 1.531 kB / 0.95 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.7964, allocations: 384 / 0.95 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.924e-05/0.7965, allocations: 40.52 kB / 0.9501 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.7965, allocations: 0 / 0.9501 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.7965, allocations: 0 / 0.9501 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.7965, allocations: 0 / 0.9501 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.486e-05/0.7966, allocations: 1.5 kB / 0.9501 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.7968, allocations: 383.6 kB / 0.9504 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.342e-05/0.7969, allocations: 178.3 kB / 0.9506 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.7969, allocations: 80.14 kB / 0.9507 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.7969, allocations: 79.27 kB / 0.9508 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.7969, allocations: 107.1 kB / 0.9509 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.7969, allocations: 0 / 0.9509 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.184e-05/0.797, allocations: 34.8 kB / 0.9509 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.797, allocations: 132 kB / 0.951 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.031e-05/0.7971, allocations: 92.27 kB / 0.9511 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.7971, allocations: 26.8 kB / 0.9511 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.599e-05/0.7971, allocations: 80.14 kB / 0.9512 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.7971, allocations: 0 / 0.9512 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/0.7972, allocations: 10.84 kB / 0.9512 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.7972, allocations: 324 kB / 0.9515 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/0.7972, allocations: 128 / 0.9515 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.436e-06/0.7972, allocations: 5.188 kB / 0.9515 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.196e-05/0.7972, allocations: 75.28 kB / 0.9516 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.7973, allocations: 75.28 kB / 0.9517 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.868e-05/0.7973, allocations: 31.98 kB / 0.9517 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.7973, allocations: 84.5 kB / 0.9518 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.7974, allocations: 80.66 kB / 0.9519 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.7974, allocations: 151.8 kB / 0.952 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.175e-05/0.7974, allocations: 89.41 kB / 0.9521 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.7974, allocations: 154.6 kB / 0.9522 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/0.7975, allocations: 87.22 kB / 0.9523 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.7975, allocations: 77.41 kB / 0.9524 GB, free: 5.672 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 5.833e-05/0.7976, allocations: 260.3 kB / 0.9527 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.7976, allocations: 107 kB / 0.9528 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.7976, allocations: 113.9 kB / 0.9529 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.7977, allocations: 181.7 kB / 0.953 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.832e-05/0.7977, allocations: 185.5 kB / 0.9532 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/0.7977, allocations: 176.3 kB / 0.9534 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.7979, allocations: 403.8 kB / 0.9538 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/0.7979, allocations: 110.2 kB / 0.9539 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.7979, allocations: 101 kB / 0.954 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.585e-05/0.798, allocations: 185.5 kB / 0.9541 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.798, allocations: 177.5 kB / 0.9543 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.984e-05/0.7981, allocations: 181.6 kB / 0.9545 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.762e-05/0.7981, allocations: 184.2 kB / 0.9547 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.973e-05/0.7982, allocations: 312.8 kB / 0.955 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.7982, allocations: 182.1 kB / 0.9551 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.7982, allocations: 177.5 kB / 0.9553 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.365e-05/0.7983, allocations: 110.2 kB / 0.9554 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.7983, allocations: 181.7 kB / 0.9556 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.7984, allocations: 109.9 kB / 0.9557 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.048e-05/0.7984, allocations: 78.12 kB / 0.9558 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7984, allocations: 0 / 0.9558 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002447/0.7986, allocations: 0 / 0.9558 GB, free: 2.031 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.000128/0.7988, allocations: 176.4 kB / 0.9559 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.769e-05/0.7988, allocations: 4 kB / 0.9559 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7988, allocations: 1.344 kB / 0.9559 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.7988, allocations: 0 / 0.9559 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.7991, allocations: 0.5254 MB / 0.9564 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001741/0.7993, allocations: 159.5 kB / 0.9566 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.7994, allocations: 0.6783 MB / 0.9573 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.845e-06/0.7994, allocations: 0 / 0.9573 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.7994, allocations: 7.438 kB / 0.9573 GB, free: 456 kB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.7995, allocations: 1.406 kB / 0.9573 GB, free: 456 kB / 0.7169 GB Notification: Performance of Templates: time 0.00185/0.8013, allocations: 166.8 kB / 0.9574 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/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