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.0008171/0.0008171, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008072/0.0008072, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8979/0.8979, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.681/1.681, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 5.57e-06/5.57e-06, allocations: 0 / 0.9505 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.815e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001806/0.001845, allocations: 0.8365 MB / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000237/0.002082, allocations: 95.62 kB / 0.9514 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.176e-05/0.002163, allocations: 4 kB / 0.9514 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.002291, allocations: 27.67 kB / 0.9514 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.002453, allocations: 15.86 kB / 0.9514 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 8.065e-05/0.002534, allocations: 39.97 kB / 0.9515 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.002772, allocations: 263.4 kB / 0.9517 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.003039, allocations: 162.9 kB / 0.9519 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.003194, allocations: 191.6 kB / 0.9521 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.003348, allocations: 127.6 kB / 0.9522 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.003399, allocations: 32 kB / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 2.781e-05/0.003427, allocations: 36 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.003489, allocations: 83.77 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.00356, allocations: 95.69 kB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.003877, allocations: 470.4 kB / 0.9529 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003879, allocations: 0 / 0.9529 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.022e-06/0.00388, allocations: 3.938 kB / 0.9529 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.003885, allocations: 0 / 0.9529 GB, free: 1.086 MB / 0.9011 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.0005485/0.004433, allocations: 0.5285 MB / 0.9534 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.004475, allocations: 12.03 kB / 0.9534 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.582e-05/0.00453, allocations: 70.72 kB / 0.9535 GB, free: 444 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.004581, allocations: 44.64 kB / 0.9535 GB, free: 400 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.004897, allocations: 269.7 kB / 0.9538 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.004943, allocations: 41.02 kB / 0.9538 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.00497, allocations: 28.38 kB / 0.9538 GB, free: 32 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.0054, allocations: 404 kB / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.005411, allocations: 192 / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.005431, allocations: 12.38 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.005439, allocations: 12.12 kB / 0.9542 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.005741, allocations: 307.5 kB / 0.9545 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009281/0.006669, allocations: 0.9537 MB / 0.9555 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.006785, allocations: 93.16 kB / 0.9556 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.006831, allocations: 49.78 kB / 0.9556 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.006848, allocations: 4 kB / 0.9556 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.006866, allocations: 30.56 kB / 0.9556 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.006867, allocations: 0 / 0.9556 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0002538/0.007121, allocations: 177.3 kB / 0.9558 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.007159, allocations: 77.11 kB / 0.9559 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.007544, allocations: 0.513 MB / 0.9564 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.007556, allocations: 29.7 kB / 0.9564 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.007661, allocations: 211.7 kB / 0.9566 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.019e-05/0.007671, allocations: 11.91 kB / 0.9566 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.007726, allocations: 57.59 kB / 0.9567 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.00782, allocations: 350.8 kB / 0.957 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.007891, allocations: 63.95 kB / 0.9571 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.007967, allocations: 85.61 kB / 0.9572 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.008075, allocations: 117.6 kB / 0.9573 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.008079, allocations: 4 kB / 0.9573 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001953/0.008274, allocations: 213.3 kB / 0.9575 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.008289, allocations: 7.984 kB / 0.9575 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.008294, allocations: 0 / 0.9575 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.008306, allocations: 8 kB / 0.9575 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.008402, allocations: 20 kB / 0.9575 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.00841, allocations: 7.984 kB / 0.9575 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.008458, allocations: 39.61 kB / 0.9576 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.008472, allocations: 11.94 kB / 0.9576 GB, free: 12.04 MB / 0.9167 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.0001324/0.008604, allocations: 191.8 kB / 0.9577 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.008639, allocations: 35.77 kB / 0.9578 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.008791, allocations: 122.1 kB / 0.9579 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.008796, allocations: 4.375 kB / 0.9579 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.0088, allocations: 0 / 0.9579 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.008805, allocations: 3.938 kB / 0.9579 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/0.009163, allocations: 0.6087 MB / 0.9585 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.009165, allocations: 4 kB / 0.9585 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/0.009179, allocations: 7.984 kB / 0.9585 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.009182, allocations: 3.938 kB / 0.9585 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.009188, allocations: 4.188 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.00919, allocations: 4 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009191, allocations: 0 / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.537e-05/0.009277, allocations: 131.4 kB / 0.9586 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.009318, allocations: 43.7 kB / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.009338, allocations: 11.98 kB / 0.9587 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.029e-05/0.009369, allocations: 7.938 kB / 0.9587 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.009385, allocations: 192 / 0.9587 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.009388, allocations: 4 kB / 0.9587 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002639/0.009652, allocations: 395 kB / 0.9591 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.009652, allocations: 0 / 0.9591 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001541/0.009806, allocations: 43.94 kB / 0.9591 GB, free: 10.32 MB / 0.9167 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.000268/0.01007, allocations: 0.6732 MB / 0.9598 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.01022, allocations: 91.89 kB / 0.9599 GB, free: 9.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01023, allocations: 0 / 0.9599 GB, free: 9.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.929e-05/0.01025, allocations: 27.92 kB / 0.9599 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.01043, allocations: 23.94 kB / 0.9599 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.01258, allocations: 2.924 MB / 0.9628 GB, free: 6.441 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.01269, allocations: 179.5 kB / 0.963 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.105e-05/0.01276, allocations: 58.94 kB / 0.963 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.01286, allocations: 92.47 kB / 0.9631 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.01286, allocations: 0 / 0.9631 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.03016, allocations: 6.468 MB / 0.9694 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.01, allocations: 6.344 kB / 0.9694 GB, free: 15.79 MB / 0.9323 GB " [Timeout remaining time 293] (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/jenkins/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: 11.125463211908937]