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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.493/2.493, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 75.88 kB / 1.107 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7296, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001747/0.7314, allocations: 0.8889 MB / 1.272 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002201/0.7316, allocations: 92.28 kB / 1.272 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.7316, allocations: 3 kB / 1.272 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.926e-05/0.7317, allocations: 19.23 kB / 1.272 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.7319, allocations: 17.41 kB / 1.272 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.797e-05/0.7319, allocations: 39.31 kB / 1.272 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.7322, allocations: 257.7 kB / 1.273 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.7325, allocations: 173.8 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.7326, allocations: 128.4 kB / 1.273 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.7327, allocations: 151.3 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.7328, allocations: 32.88 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.6e-05/0.7328, allocations: 32.41 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.7329, allocations: 83.08 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.793e-05/0.733, allocations: 154.8 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.7333, allocations: 467.9 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.7333, allocations: 0 / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7333, allocations: 0 / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.7333, allocations: 1.031 kB / 1.274 GB, free: 6.375 MB / 0.9981 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.0005086/0.7338, allocations: 0.6016 MB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.7339, allocations: 17.41 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.7339, allocations: 73.36 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.734, allocations: 38.64 kB / 1.275 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.7343, allocations: 335.4 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.7343, allocations: 37.73 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.7344, allocations: 30.22 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.7349, allocations: 400.6 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.7349, allocations: 7.938 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.7349, allocations: 10.81 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.7349, allocations: 8.25 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004128/0.7353, allocations: 306.1 kB / 1.276 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.7364, allocations: 1.051 MB / 1.277 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.7365, allocations: 91.02 kB / 1.277 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.7366, allocations: 42.75 kB / 1.277 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.7366, allocations: 5.766 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.109e-05/0.7366, allocations: 37.06 kB / 1.277 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.7366, allocations: 0 / 1.277 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0002807/0.7369, allocations: 172.6 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.7369, allocations: 81.8 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.7374, allocations: 0.5114 MB / 1.278 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.7374, allocations: 28.17 kB / 1.278 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.7375, allocations: 207.8 kB / 1.278 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.7375, allocations: 15.52 kB / 1.278 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.7376, allocations: 55.59 kB / 1.278 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.819e-05/0.7376, allocations: 345.6 kB / 1.278 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.7377, allocations: 64.88 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.7378, allocations: 92 kB / 1.278 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.738, allocations: 123.7 kB / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.738, allocations: 1.031 kB / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002575/0.7382, allocations: 199.5 kB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.7382, allocations: 5.156 kB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.7382, allocations: 0.9062 kB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.7382, allocations: 6.266 kB / 1.279 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.7384, allocations: 38.44 kB / 1.279 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.7384, allocations: 4.969 kB / 1.279 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.759e-05/0.7385, allocations: 42.34 kB / 1.279 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.7385, allocations: 9.375 kB / 1.279 GB, free: 3.121 MB / 0.9981 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.0001602/0.7386, allocations: 198 kB / 1.279 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.7387, allocations: 31 kB / 1.279 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.7389, allocations: 123.3 kB / 1.279 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.7389, allocations: 4.844 kB / 1.279 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7389, allocations: 0.875 kB / 1.279 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7389, allocations: 1.516 kB / 1.279 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.7393, allocations: 0.6518 MB / 1.28 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7393, allocations: 1.703 kB / 1.28 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.7393, allocations: 8.219 kB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.7393, allocations: 2.734 kB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.7393, allocations: 0.625 kB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.7394, allocations: 2.094 kB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7394, allocations: 5.734 kB / 1.28 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.7395, allocations: 128.7 kB / 1.28 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.7395, allocations: 120.1 kB / 1.28 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.7396, allocations: 3.125 kB / 1.28 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.7396, allocations: 3.625 kB / 1.28 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.7396, allocations: 12.05 kB / 1.28 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.7396, allocations: 2.797 kB / 1.28 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003986/0.74, allocations: 390.7 kB / 1.28 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.74, allocations: 0 / 1.28 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002289/0.7403, allocations: 48.48 kB / 1.28 GB, free: 1.875 MB / 0.9981 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.0002655/0.7405, allocations: 0.6707 MB / 1.281 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.7407, allocations: 108 kB / 1.281 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7407, allocations: 0 / 1.281 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.447e-05/0.7408, allocations: 13.52 kB / 1.281 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.741, allocations: 26.89 kB / 1.281 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.7436, allocations: 2.912 MB / 1.284 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.744, allocations: 0.7876 MB / 1.285 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.974e-05/0.7441, allocations: 57.11 kB / 1.285 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.7443, allocations: 97.31 kB / 1.285 GB, free: 14.63 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7443, allocations: 384 / 1.285 GB, free: 14.63 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.7727, allocations: 5.676 MB / 1.291 GB, free: 13.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.954, allocations: 14.73 kB / 1.291 GB, free: 13.91 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.276756711995404]