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.001707/0.001707, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001547/0.001547, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 3.552/3.552, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,fileNamePrefix="Buildings_latest_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.002149/0.002149, allocations: 70.02 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3343, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002223/0.3366, allocations: 0.8655 MB / 1.354 GB, free: 7.617 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002781/0.3368, allocations: 95.58 kB / 1.354 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.3369, allocations: 4 kB / 1.354 GB, free: 7.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.3371, allocations: 19.8 kB / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.3372, allocations: 19.86 kB / 1.354 GB, free: 7.48 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.377e-05/0.3373, allocations: 39.95 kB / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.3376, allocations: 259.4 kB / 1.354 GB, free: 7.188 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.3379, allocations: 175.1 kB / 1.354 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.338, allocations: 131.5 kB / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.3383, allocations: 143.3 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.3383, allocations: 32 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.791e-05/0.3384, allocations: 32 kB / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.582e-05/0.3384, allocations: 95.7 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.3386, allocations: 155.1 kB / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.3391, allocations: 450.1 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3391, allocations: 3.984 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3391, allocations: 4 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3391, allocations: 0 / 1.355 GB, free: 5.984 MB / 1.045 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.0007834/0.3399, allocations: 0.5285 MB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3399, allocations: 8.031 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.982e-05/0.34, allocations: 74.72 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.34, allocations: 48.66 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.3405, allocations: 270.5 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.3405, allocations: 37.03 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.3406, allocations: 28.38 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.3412, allocations: 408 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3412, allocations: 3.938 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.3413, allocations: 8 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.3413, allocations: 16 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/0.3417, allocations: 303.8 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.3433, allocations: 1.028 MB / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.3435, allocations: 81.22 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.3436, allocations: 45.8 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3436, allocations: 0 / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.3436, allocations: 46.42 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3436, allocations: 0 / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0003682/0.344, allocations: 177.6 kB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.3441, allocations: 77.11 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/0.3447, allocations: 0.5053 MB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3447, allocations: 29.7 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.3449, allocations: 207.7 kB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.3449, allocations: 19.84 kB / 1.359 GB, free: 1.871 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/0.345, allocations: 49.66 kB / 1.359 GB, free: 1.816 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3452, allocations: 346.8 kB / 1.359 GB, free: 1.469 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.3453, allocations: 67.95 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3454, allocations: 95.22 kB / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3456, allocations: 121.6 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3456, allocations: 0 / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003216/0.3459, allocations: 205.3 kB / 1.36 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3459, allocations: 8 kB / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3459, allocations: 0 / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3459, allocations: 7.875 kB / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.3461, allocations: 31.98 kB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3461, allocations: 0 / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.152e-05/0.3462, allocations: 31.73 kB / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.3462, allocations: 8 kB / 1.36 GB, free: 0.8867 MB / 1.045 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.0002251/0.3464, allocations: 212.3 kB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.3465, allocations: 31.77 kB / 1.36 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.3467, allocations: 118.1 kB / 1.36 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3467, allocations: 3.938 kB / 1.36 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3467, allocations: 0 / 1.36 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3467, allocations: 4.062 kB / 1.36 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006657/0.3474, allocations: 0.6282 MB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3474, allocations: 4 kB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.3474, allocations: 7.938 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3474, allocations: 0 / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.3475, allocations: 128 / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3475, allocations: 8 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3475, allocations: 0 / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.3476, allocations: 127.4 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-05/0.3477, allocations: 47.75 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.3477, allocations: 4 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.646e-05/0.3478, allocations: 4 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.3478, allocations: 19.92 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.3478, allocations: 0 / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004575/0.3483, allocations: 391 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3483, allocations: 0 / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000255/0.3485, allocations: 39.89 kB / 1.362 GB, free: 15.14 MB / 1.061 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.0005079/0.349, allocations: 0.6694 MB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.3493, allocations: 104 kB / 1.362 GB, free: 14.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3493, allocations: 0 / 1.362 GB, free: 14.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.024e-05/0.3493, allocations: 23.88 kB / 1.362 GB, free: 14.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3496, allocations: 29.64 kB / 1.362 GB, free: 14.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.3533, allocations: 2.908 MB / 1.365 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.3537, allocations: 0.7907 MB / 1.366 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.3538, allocations: 66.91 kB / 1.366 GB, free: 10.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.354, allocations: 91.41 kB / 1.366 GB, free: 10.3 MB / 1.061 GB Notification: Performance of SimCode: time 8.12e-07/0.354, allocations: 0 / 1.366 GB, free: 10.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.3878, allocations: 5.868 MB / 1.372 GB, free: 4.578 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.56, allocations: 7.984 kB / 1.372 GB, free: 4.57 MB / 1.061 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv. Warning: Get data of variable idxFirTru.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv failed! Error: Could not read variable idxFirTruAllFal.y in file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv. Warning: Get data of variable idxFirTruAllFal.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.680815052999606]