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.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.001376/0.001376, allocations: 107 kB / 16.45 MB, free: 6.02 MB / 14.72 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.001463/0.001463, allocations: 205.7 kB / 19.42 MB, free: 3.516 MB / 14.72 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 1.572/1.572, allocations: 230.6 MB / 252.8 MB, free: 8.938 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.766/2.766, allocations: 476.7 MB / 0.7672 GB, free: 5.352 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 67.91 kB / 1.112 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.8026, allocations: 169.9 MB / 1.278 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002251/0.8049, allocations: 0.8713 MB / 1.279 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002674/0.8052, allocations: 95.69 kB / 1.279 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.8053, allocations: 11.88 kB / 1.279 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.8054, allocations: 15.8 kB / 1.279 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.8056, allocations: 15.86 kB / 1.279 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.412e-05/0.8057, allocations: 39.97 kB / 1.279 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.806, allocations: 255.4 kB / 1.28 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003768/0.8064, allocations: 238.2 kB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.8065, allocations: 123.6 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.8067, allocations: 151.2 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.8067, allocations: 32 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.549e-05/0.8068, allocations: 32 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.8069, allocations: 91.66 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.807, allocations: 155.1 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.8075, allocations: 456.1 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.8075, allocations: 4 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8075, allocations: 4 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.8076, allocations: 4 kB / 1.281 GB, free: 10.89 MB / 0.9825 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.0008187/0.8084, allocations: 0.596 MB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.8084, allocations: 12.03 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.59e-05/0.8085, allocations: 74.72 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.218e-05/0.8086, allocations: 44.66 kB / 1.281 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.809, allocations: 340.2 kB / 1.282 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.8091, allocations: 33.02 kB / 1.282 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.8091, allocations: 36.38 kB / 1.282 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006257/0.8098, allocations: 400.2 kB / 1.282 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.8098, allocations: 3.938 kB / 1.282 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.8098, allocations: 15.94 kB / 1.282 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.8099, allocations: 12 kB / 1.282 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/0.8103, allocations: 299.6 kB / 1.283 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.8119, allocations: 1.046 MB / 1.284 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.812, allocations: 94.81 kB / 1.284 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.973e-05/0.8121, allocations: 45.78 kB / 1.284 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.8121, allocations: 0 / 1.284 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.8122, allocations: 42.56 kB / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.8122, allocations: 0 / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004077/0.8126, allocations: 165.3 kB / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.8127, allocations: 77.11 kB / 1.284 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009415/0.8136, allocations: 0.5092 MB / 1.284 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.8136, allocations: 29.7 kB / 1.285 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.8139, allocations: 203.8 kB / 1.285 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.8139, allocations: 19.83 kB / 1.285 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.814, allocations: 53.69 kB / 1.285 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000227/0.8143, allocations: 354.8 kB / 1.285 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.8144, allocations: 67.89 kB / 1.285 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.8146, allocations: 85.58 kB / 1.285 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.8149, allocations: 117.5 kB / 1.285 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8149, allocations: 4 kB / 1.285 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006007/0.8155, allocations: 213.2 kB / 1.286 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.8156, allocations: 8 kB / 1.286 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.8156, allocations: 4 kB / 1.286 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.8156, allocations: 3.938 kB / 1.286 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.8158, allocations: 31.94 kB / 1.286 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.8158, allocations: 3.984 kB / 1.286 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.816, allocations: 35.67 kB / 1.286 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.816, allocations: 4 kB / 1.286 GB, free: 5.582 MB / 0.9825 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.0003422/0.8163, allocations: 202.8 kB / 1.286 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.8164, allocations: 39.75 kB / 1.286 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.8168, allocations: 118 kB / 1.286 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.8168, allocations: 3.938 kB / 1.286 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8168, allocations: 0 / 1.286 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.8168, allocations: 4 kB / 1.286 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009278/0.8177, allocations: 0.6487 MB / 1.287 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.8177, allocations: 192 / 1.287 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.8177, allocations: 7.984 kB / 1.287 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.8178, allocations: 7.938 kB / 1.287 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.8178, allocations: 4 kB / 1.287 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.8178, allocations: 0 / 1.287 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.8178, allocations: 4 kB / 1.287 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.818, allocations: 135.8 kB / 1.287 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.8182, allocations: 120.9 kB / 1.287 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.8182, allocations: 0 / 1.287 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.8183, allocations: 4 kB / 1.287 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.8183, allocations: 8.047 kB / 1.287 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.8184, allocations: 3.984 kB / 1.287 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007198/0.8191, allocations: 395 kB / 1.287 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8191, allocations: 0 / 1.287 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000456/0.8195, allocations: 39.94 kB / 1.287 GB, free: 3.73 MB / 0.9825 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.0008608/0.8204, allocations: 0.6772 MB / 1.288 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.8207, allocations: 99.88 kB / 1.288 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8207, allocations: 0 / 1.288 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.8208, allocations: 15.94 kB / 1.288 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.8212, allocations: 33.5 kB / 1.288 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005563/0.8268, allocations: 2.908 MB / 1.291 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/0.8275, allocations: 0.7908 MB / 1.292 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.8277, allocations: 54.94 kB / 1.292 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.8279, allocations: 99.41 kB / 1.292 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/0.8279, allocations: 0 / 1.292 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/0.8701, allocations: 5.703 MB / 1.297 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/9.269, allocations: 1.75 kB / 1.297 GB, free: 9.34 MB / 0.9981 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable idxFirTru.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv. Warning: Get data of variable idxFirTru.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv failed! Error: Could not read variable idxFirTruAllFal.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv. Warning: Get data of variable idxFirTruAllFal.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.379760792013258]