Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001308, 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.001316/0.001316, allocations: 192.4 kB / 16.25 MB, free: 6.633 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.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.814/2.814, allocations: 469.8 MB / 0.742 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.67 kB / 0.9081 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2935, allocations: 159.1 MB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002193/0.2957, allocations: 0.9215 MB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002384/0.296, allocations: 83.64 kB / 1.064 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.2961, allocations: 4 kB / 1.064 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.2962, allocations: 19.69 kB / 1.064 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.2963, allocations: 19.91 kB / 1.064 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.258e-05/0.2964, allocations: 31.98 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.2967, allocations: 247.5 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.2972, allocations: 294.3 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.2973, allocations: 135.5 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.2975, allocations: 143.3 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.188e-05/0.2975, allocations: 32 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.404e-05/0.2976, allocations: 32 kB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.647e-05/0.2977, allocations: 87.7 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.2978, allocations: 159.1 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.2982, allocations: 434.6 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2982, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2983, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.2983, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0007452/0.299, allocations: 0.5928 MB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2991, allocations: 8.031 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.935e-05/0.2991, allocations: 44.45 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.2996, allocations: 340 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.2996, allocations: 36.95 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.2997, allocations: 32.38 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.3003, allocations: 404.2 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3003, allocations: 192 / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.3004, allocations: 19.88 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3004, allocations: 12 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.3009, allocations: 299.6 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.3023, allocations: 1.053 MB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.3025, allocations: 93.16 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.3026, allocations: 45.8 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.3026, allocations: 0 / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3026, allocations: 38.56 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.001e-06/0.3026, allocations: 0 / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003348/0.303, allocations: 169.2 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.303, allocations: 81.05 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.3036, allocations: 0.5091 MB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.3036, allocations: 29.64 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.3038, allocations: 207.5 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.3038, allocations: 19.8 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.3039, allocations: 53.7 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3041, allocations: 342.8 kB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.3042, allocations: 67.95 kB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3043, allocations: 90.91 kB / 1.07 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.3045, allocations: 117.5 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3045, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003174/0.3049, allocations: 205.1 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3049, allocations: 8 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3049, allocations: 4 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3049, allocations: 0 / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.3051, allocations: 43.86 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3051, allocations: 0 / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.803e-05/0.3052, allocations: 35.53 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.3052, allocations: 8 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (idxFirTru.booToInt[1].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[6].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.000207/0.3054, allocations: 204 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.3055, allocations: 27.62 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.3057, allocations: 118 kB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.3057, allocations: 3.938 kB / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3057, allocations: 0 / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3057, allocations: 4.312 kB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/0.3063, allocations: 0.6604 MB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3063, allocations: 0 / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.3064, allocations: 4 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3064, allocations: 0 / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3064, allocations: 7.984 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3064, allocations: 0 / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3064, allocations: 3.938 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.3066, allocations: 131.4 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3067, allocations: 120.6 kB / 1.072 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.3067, allocations: 3.938 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.199e-05/0.3068, allocations: 4 kB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.3068, allocations: 15.98 kB / 1.072 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.3068, allocations: 0 / 1.072 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004449/0.3073, allocations: 391.2 kB / 1.072 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3073, allocations: 3.938 kB / 1.072 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002387/0.3075, allocations: 39.84 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (idxFirTru.y,idxFirTru.intEqu.y,idxFirTruAllFal.y,idxFirTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001106/0.3076, allocations: 99.25 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.3079, allocations: 107.9 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3079, allocations: 0 / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.8e-05/0.3079, allocations: 19.94 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.3082, allocations: 35.56 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007862/0.309, allocations: 0.5769 MB / 1.073 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.3094, allocations: 0.7909 MB / 1.074 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.3095, allocations: 58.92 kB / 1.074 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.3096, allocations: 23.44 kB / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3096, allocations: 0 / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of Templates: time 0.005344/0.3149, allocations: 1.992 MB / 1.076 GB, free: 1.176 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches