Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 82.05 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9485/0.9485, allocations: 177.1 MB / 203.7 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.387/2.387, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.428e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001739/0.001763, allocations: 1.009 MB / 0.8907 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003206/0.002084, allocations: 163.4 kB / 0.8909 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.002171, allocations: 7.938 kB / 0.8909 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.002295, allocations: 31.72 kB / 0.8909 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.002419, allocations: 27.73 kB / 0.8909 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.002543, allocations: 67.94 kB / 0.891 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.002792, allocations: 347.3 kB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.003079, allocations: 289.6 kB / 0.8916 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.003332, allocations: 307.4 kB / 0.8919 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.003467, allocations: 163.6 kB / 0.8921 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.003519, allocations: 48 kB / 0.8921 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.084e-05/0.00356, allocations: 48 kB / 0.8922 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.003634, allocations: 131.6 kB / 0.8923 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.123e-05/0.003725, allocations: 135.6 kB / 0.8924 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.004004, allocations: 390.5 kB / 0.8928 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004006, allocations: 0 / 0.8928 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004007, allocations: 0 / 0.8928 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.004012, allocations: 0 / 0.8928 GB, free: 6.629 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.0005378/0.00455, allocations: 0.7453 MB / 0.8935 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.004587, allocations: 12.62 kB / 0.8935 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.004671, allocations: 92.61 kB / 0.8936 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.005076, allocations: 304.8 kB / 0.8939 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.005118, allocations: 53.38 kB / 0.894 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.005156, allocations: 48.36 kB / 0.894 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.005516, allocations: 369 kB / 0.8943 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.005526, allocations: 192 / 0.8943 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.00555, allocations: 20.38 kB / 0.8944 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.005559, allocations: 16.38 kB / 0.8944 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.005732, allocations: 146.7 kB / 0.8945 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/0.006721, allocations: 1.094 MB / 0.8956 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.006958, allocations: 118.1 kB / 0.8957 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.006999, allocations: 47.34 kB / 0.8957 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.007017, allocations: 4 kB / 0.8958 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.007037, allocations: 45.7 kB / 0.8958 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.012e-06/0.007038, allocations: 0 / 0.8958 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0002261/0.007264, allocations: 157.4 kB / 0.8959 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.007299, allocations: 85.05 kB / 0.896 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.007526, allocations: 403.8 kB / 0.8964 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.007539, allocations: 29.7 kB / 0.8964 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.007677, allocations: 311.1 kB / 0.8967 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.007715, allocations: 67.42 kB / 0.8968 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.007819, allocations: 127.2 kB / 0.8969 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.007942, allocations: 0.5196 MB / 0.8974 GB, free: 1.621 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.119e-05/0.007984, allocations: 31.97 kB / 0.8975 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.008045, allocations: 71.3 kB / 0.8975 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.008146, allocations: 101.9 kB / 0.8976 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008148, allocations: 0 / 0.8976 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001692/0.008317, allocations: 183.8 kB / 0.8978 GB, free: 1.223 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.00833, allocations: 8 kB / 0.8978 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.008335, allocations: 0 / 0.8978 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.008345, allocations: 0 / 0.8978 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.00846, allocations: 51.91 kB / 0.8979 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.008466, allocations: 7.938 kB / 0.8979 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.008506, allocations: 27.84 kB / 0.8979 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.008521, allocations: 8 kB / 0.8979 GB, free: 1.121 MB / 0.8542 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 (idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.y,idxFirTru.booToInt[6].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[1].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001139/0.008635, allocations: 186.5 kB / 0.8981 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.008673, allocations: 27.86 kB / 0.8981 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.008847, allocations: 152.2 kB / 0.8983 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.00885, allocations: 4 kB / 0.8983 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.008852, allocations: 7.938 kB / 0.8983 GB, free: 0.7422 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.008855, allocations: 0 / 0.8983 GB, free: 0.7422 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007124/0.009567, allocations: 1.017 MB / 0.8993 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.009574, allocations: 8 kB / 0.8993 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.009643, allocations: 43.92 kB / 0.8993 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.00965, allocations: 8 kB / 0.8993 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.00966, allocations: 7.984 kB / 0.8993 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.009664, allocations: 8 kB / 0.8993 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.009669, allocations: 11.88 kB / 0.8993 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.00989, allocations: 356.1 kB / 0.8997 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.009915, allocations: 27.8 kB / 0.8997 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.009933, allocations: 15.98 kB / 0.8997 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.843e-05/0.009981, allocations: 8 kB / 0.8997 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.01003, allocations: 35.84 kB / 0.8998 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.01005, allocations: 19.86 kB / 0.8998 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.789e-05/0.01014, allocations: 209.1 kB / 0.9 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01014, allocations: 0 / 0.9 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002001/0.01034, allocations: 83.62 kB / 0.9001 GB, free: 14.68 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (idxFirTru.y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTruAllFal.y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 9.611e-05/0.01043, allocations: 119.1 kB / 0.9002 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.01059, allocations: 123.4 kB / 0.9003 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.01059, allocations: 4 kB / 0.9003 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.928e-05/0.01066, allocations: 72.28 kB / 0.9004 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.01089, allocations: 40.86 kB / 0.9004 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008062/0.01169, allocations: 0.7689 MB / 0.9012 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.687e-05/0.01176, allocations: 120.2 kB / 0.9013 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.889e-05/0.01182, allocations: 30.28 kB / 0.9013 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.01191, allocations: 110.2 kB / 0.9014 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of SimCode: time 6.91e-07/0.01191, allocations: 0 / 0.9014 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of Templates: time 0.004211/0.01612, allocations: 2.044 MB / 0.9034 GB, free: 11.15 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.171244616620243]