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.001148/0.001153, allocations: 107 kB / 16.36 MB, free: 6.336 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.001177/0.001177, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.17 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.309/2.309, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 67.19 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.301, allocations: 140.4 MB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001809/0.3028, allocations: 0.5342 MB / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 4.205e-05/0.3029, allocations: 3.984 kB / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.3029, allocations: 0 / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.3029, allocations: 0 / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.572e-05/0.303, allocations: 0 / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 2.914e-05/0.303, allocations: 11.94 kB / 0.9517 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.823e-05/0.3031, allocations: 0 / 0.9517 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.592e-05/0.3031, allocations: 0 / 0.9517 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.62e-05/0.3031, allocations: 3.938 kB / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.751e-05/0.3032, allocations: 8 kB / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.3032, allocations: 3.938 kB / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.3032, allocations: 0 / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.3032, allocations: 0 / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.3032, allocations: 0 / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.411e-05/0.3033, allocations: 3.984 kB / 0.9517 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3033, allocations: 0 / 0.9517 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3033, allocations: 4 kB / 0.9517 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.3033, allocations: 4 kB / 0.9517 GB, free: 7.426 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.0003259/0.3036, allocations: 311.5 kB / 0.952 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3037, allocations: 12.06 kB / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.3037, allocations: 0.9375 kB / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3038, allocations: 172.3 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3039, allocations: 384 / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.3039, allocations: 384 / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.916e-05/0.304, allocations: 41.81 kB / 0.9522 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.304, allocations: 0 / 0.9522 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.304, allocations: 3.938 kB / 0.9522 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.304, allocations: 0 / 0.9522 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.378e-05/0.304, allocations: 0 / 0.9522 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.3044, allocations: 383.5 kB / 0.9526 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.472e-05/0.3045, allocations: 173.2 kB / 0.9528 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.893e-05/0.3045, allocations: 92.08 kB / 0.9528 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3046, allocations: 75.28 kB / 0.9529 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.3047, allocations: 109.8 kB / 0.953 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3047, allocations: 0 / 0.953 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.924e-05/0.3048, allocations: 25.7 kB / 0.953 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.3048, allocations: 130.7 kB / 0.9532 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.3049, allocations: 97.84 kB / 0.9533 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.3049, allocations: 25.7 kB / 0.9533 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.305, allocations: 80.14 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-06/0.305, allocations: 4 kB / 0.9534 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.305, allocations: 13.72 kB / 0.9534 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3052, allocations: 314.8 kB / 0.9537 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-06/0.3052, allocations: 128 / 0.9537 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-06/0.3052, allocations: 7.938 kB / 0.9537 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.578e-05/0.3052, allocations: 75.28 kB / 0.9538 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.362e-05/0.3052, allocations: 75.28 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.67e-05/0.3053, allocations: 31.81 kB / 0.9539 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.4e-05/0.3054, allocations: 83.27 kB / 0.9539 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/0.3054, allocations: 79.28 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.237e-05/0.3055, allocations: 154.5 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.883e-05/0.3055, allocations: 79.28 kB / 0.9542 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.904e-05/0.3056, allocations: 162.4 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.3056, allocations: 79.28 kB / 0.9545 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.3057, allocations: 75.28 kB / 0.9545 GB, free: 4.289 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.0001083/0.3058, allocations: 264.3 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.3059, allocations: 109 kB / 0.9549 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.3059, allocations: 112 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001211/0.306, allocations: 184.2 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-05/0.3061, allocations: 176.3 kB / 0.9554 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.281e-05/0.3062, allocations: 180.2 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.3065, allocations: 409.2 kB / 0.9559 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.39e-05/0.3065, allocations: 109 kB / 0.956 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.3067, allocations: 104.9 kB / 0.9561 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.735e-05/0.3067, allocations: 184.2 kB / 0.9563 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.63e-05/0.3068, allocations: 180.2 kB / 0.9565 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.85e-05/0.3069, allocations: 176.6 kB / 0.9566 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.193e-05/0.307, allocations: 180.3 kB / 0.9568 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.3071, allocations: 315.7 kB / 0.9571 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.3072, allocations: 186 kB / 0.9573 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.3073, allocations: 176.3 kB / 0.9575 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.3074, allocations: 101 kB / 0.9575 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3075, allocations: 192.2 kB / 0.9577 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.3075, allocations: 105 kB / 0.9578 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.02e-05/0.3076, allocations: 75.28 kB / 0.9579 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3076, allocations: 0 / 0.9579 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002752/0.3079, allocations: 0 / 0.9579 GB, free: 0.6211 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.0001317/0.308, allocations: 174.5 kB / 0.9581 GB, free: 452 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.676e-05/0.3081, allocations: 8.031 kB / 0.9581 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3081, allocations: 0 / 0.9581 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.3081, allocations: 0 / 0.9581 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.3085, allocations: 463.6 kB / 0.9585 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/0.3087, allocations: 160.3 kB / 0.9587 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.309, allocations: 0.6766 MB / 0.9593 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.533e-06/0.309, allocations: 0 / 0.9593 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.309, allocations: 7.438 kB / 0.9593 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.309, allocations: 0 / 0.9593 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of Templates: time 0.001818/0.3108, allocations: 168.8 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 gbode -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